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

Method SuspendingTasks

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

SuspendingTasks returns the numbers of suspending tasks.

()

Source from the content-addressed store, hash-verified

177
178// SuspendingTasks returns the numbers of suspending tasks.
179func (q *queue) SuspendingTasks() int {
180 return int(q.metric.SuspendingTasks())
181}
182
183// QueueTask to queue single Task
184func (q *queue) QueueTask(ctx context.Context, t Task) error {

Callers

nothing calls this directly

Calls 1

SuspendingTasksMethod · 0.65

Tested by

no test coverage detected