MCPcopy Create free account
hub / github.com/cortexproject/cortex / run

Method run

pkg/util/worker_pool.go:76–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74}
75
76func (s *workerPoolExecutor) run() {
77 for range serverWorkerResetThreshold {
78 f, ok := <-s.serverWorkerChannel
79 if !ok {
80 return
81 }
82 f()
83 }
84 go s.run()
85}

Callers 1

NewWorkerPoolFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected