Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudreve/cloudreve
/ ShouldPersist
Method
ShouldPersist
pkg/queue/task.go:142–144 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
140
}
141
142
func
(i *InMemoryTask) ShouldPersist() bool {
143
return
false
144
}
145
146
func
(t *InMemoryTask) OnStatusTransition(newStatus task.Status) {
147
t.mu.Lock()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected