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

Method OnSuspend

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

OnSuspend is called when queue decides to suspend the Task

(time int64)

Source from the content-addressed store, hash-verified

57 Summarize(hasher hashid.Encoder) *Summary
58 // OnSuspend is called when queue decides to suspend the Task
59 OnSuspend(time int64)
60 // OnPersisted is called when the Task is persisted or updated in DB
61 OnPersisted(task *ent.Task)
62 // OnError is called when the Task encounters an error

Callers 1

runMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected