MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / BusyWorkers

Method BusyWorkers

pkg/queue/queue.go:159–161  ·  view source on GitHub ↗

BusyWorkers returns the numbers of workers in the running process.

()

Source from the content-addressed store, hash-verified

157
158// BusyWorkers returns the numbers of workers in the running process.
159func (q *queue) BusyWorkers() int {
160 return int(q.metric.BusyWorkers())
161}
162
163// BusyWorkers returns the numbers of success tasks.
164func (q *queue) SuccessTasks() int {

Callers 1

scheduleMethod · 0.95

Calls 1

BusyWorkersMethod · 0.65

Tested by

no test coverage detected