MCPcopy Create free account
hub / github.com/cloudwan/gohan / ForceStop

Method ForceStop

job/queue.go:111–115  ·  view source on GitHub ↗

ForceStop forces job manager without waiting job complete

()

Source from the content-addressed store, hash-verified

109
110//ForceStop forces job manager without waiting job complete
111func (queue *Queue) ForceStop() {
112 for _, worker := range queue.workers {
113 worker.CloseCh <- true
114 }
115}

Callers 3

StopMethod · 0.95
initFunction · 0.80
ForceStopFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected