MCPcopy 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
144func (s *QueueCleaner) batchSize() int {
145 if s.reducedBatchSizeBreaker.Open() {
146 return s.Config.Reduced
147 }
148 return s.Config.Default
149}
150
151type queueCleanerRunOnceResult struct {
152 QueuesDeleted []string

Callers 2

runOnceMethod · 0.95
TestQueueCleanerFunction · 0.95

Calls 1

OpenMethod · 0.80

Tested by 1

TestQueueCleanerFunction · 0.76