Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/riverqueue/river
/ batchSize
Method
batchSize
internal/maintenance/queue_cleaner.go:144–149 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
142
}
143
144
func
(s *QueueCleaner) batchSize() int {
145
if
s.reducedBatchSizeBreaker.Open() {
146
return
s.Config.Reduced
147
}
148
return
s.Config.Default
149
}
150
151
type
queueCleanerRunOnceResult
struct
{
152
QueuesDeleted []string
Callers
2
runOnce
Method · 0.95
TestQueueCleaner
Function · 0.95
Calls
1
Open
Method · 0.80
Tested by
1
TestQueueCleaner
Function · 0.76