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

Method FailureTasks

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

BusyWorkers returns the numbers of failure tasks.

()

Source from the content-addressed store, hash-verified

167
168// BusyWorkers returns the numbers of failure tasks.
169func (q *queue) FailureTasks() int {
170 return int(q.metric.FailureTasks())
171}
172
173// BusyWorkers returns the numbers of submitted tasks.
174func (q *queue) SubmittedTasks() int {

Callers

nothing calls this directly

Calls 1

FailureTasksMethod · 0.65

Tested by

no test coverage detected