Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devaccuracy/ledgerforge
/ hasWork
Function
hasWork
tests/loadtest/tools/queue_benchmark.go:335–337 ·
view source on GitHub ↗
(s snapshot)
Source
from the content-addressed store, hash-verified
333
}
334
335
func
hasWork(s snapshot) bool {
336
return
s.pending+s.active+s.scheduled+s.retry+s.aggregating > 0
337
}
338
339
func
isDrained(s snapshot) bool {
340
return
!hasWork(s)
Callers
2
main
Function · 0.85
isDrained
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected