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

Method Retried

pkg/queue/task.go:229–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227}
228
229func (t *DBTask) Retried() int {
230 t.mu.Lock()
231 defer t.mu.Unlock()
232
233 if t.Task != nil {
234 return t.Task.PublicState.RetryCount
235 }
236 return 0
237}
238
239func (t *DBTask) Error() error {
240 t.mu.Lock()

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected