MCPcopy
hub / github.com/netdata/netdata / startWorkers

Method startWorkers

src/go/plugin/framework/functions/manager.go:213–221  ·  view source on GitHub ↗
(workersWG *sync.WaitGroup)

Source from the content-addressed store, hash-verified

211}
212
213func (m *Manager) startWorkers(workersWG *sync.WaitGroup) {
214 if workersWG == nil {
215 return
216 }
217
218 for range m.workerCount {
219 workersWG.Go(m.runWorker)
220 }
221}
222
223func (m *Manager) shutdown(signalQuit, cancelInflight bool, quitCh chan struct{}, workersWG *sync.WaitGroup) {
224 m.setStopping(true)

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected