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

Method OnRetry

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

OnRetry is called when the iteration returns error and before retry

(err error)

Source from the content-addressed store, hash-verified

63 OnError(err error, d time.Duration)
64 // OnRetry is called when the iteration returns error and before retry
65 OnRetry(err error)
66 // OnIterationComplete is called when the one iteration is completed
67 OnIterationComplete(executed time.Duration)
68 // OnStatusTransition is called when the Task status is changed

Callers 1

runMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected