forked from uber/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TimerQueueProcessor stuck fix on large backlog on available timers (u…
…ber#460) TimerQueueProcessor issues a query to DB for visibilityTime '>=' from the readlevel. This could result in reading same timer multiple times and trips the processor in thinking it fired all available timers as the number of tasks returned back to the caller would be less than batch size. Updated the logic to return an explicit flag back to the caller so it can immediately callback again when there are more timers to fire. fixes uber#461.
- Loading branch information
1 parent
c79581f
commit 963d13c
Showing
1 changed file
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters