Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
have a max collection threshold even when only processing regular pro…
Browse files Browse the repository at this point in the history
…vides
  • Loading branch information
aschmahmann committed May 12, 2021
1 parent f498246 commit 4f3814c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions batched/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ func (s *BatchProvidingSystem) Run() {
m[c] = struct{}{}
resetTimer(pauseDetectTimer, pauseDetectionThreshold)
continue
case <-maxCollectionDurationTimer.C:
emptyTimer(pauseDetectTimer)
break loop
default:
}

Expand Down

0 comments on commit 4f3814c

Please sign in to comment.