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

Method SubmittedTasks

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

BusyWorkers returns the numbers of submitted tasks.

()

Source from the content-addressed store, hash-verified

172
173// BusyWorkers returns the numbers of submitted tasks.
174func (q *queue) SubmittedTasks() int {
175 return int(q.metric.SubmittedTasks())
176}
177
178// SuspendingTasks returns the numbers of suspending tasks.
179func (q *queue) SuspendingTasks() int {

Callers

nothing calls this directly

Calls 1

SubmittedTasksMethod · 0.65

Tested by

no test coverage detected