Skip to content

Commit

Permalink
Test batcher change
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSirenko committed May 1, 2024
1 parent 458701d commit 09c1aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/batcher/batcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (b *Batcher[InputType, ResultType]) taskManager() {
timerCh = time.After(b.maxDelay)
}

if len(b.pendingTasks) == b.maxEntries {
if len(b.pendingTasks) >= b.maxEntries {
klog.V(7).InfoS("taskManager: maxEntries reached")
exec()
}
Expand Down

0 comments on commit 09c1aae

Please sign in to comment.