Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
229
func
(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
239
func
(t *DBTask) Error() error {
240
t.mu.Lock()
Callers
nothing calls this directly
Calls
2
Lock
Method · 0.65
Unlock
Method · 0.65
Tested by
no test coverage detected