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

Method BusyWorkers

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

BusyWorkers returns the numbers of workers in the running process.

()

Source from the content-addressed store, hash-verified

25 QueueTask(ctx context.Context, t Task) error
26 // BusyWorkers returns the numbers of workers in the running process.
27 BusyWorkers() int
28 // BusyWorkers returns the numbers of success tasks.
29 SuccessTasks() int
30 // FailureTasks returns the numbers of failure tasks.

Callers 3

GetQueueMetricsFunction · 0.65
ShutdownMethod · 0.65
BusyWorkersMethod · 0.65

Implementers 1

queuepkg/queue/queue.go

Calls

no outgoing calls

Tested by

no test coverage detected