-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wal: don't wait for ticker to fire to clear pending txns (#563)
Previously, if we found a txn below the nextTx, we would pop it but continue waiting for the timer to fire again before popping the next one. This is not necessary and can lead to high memory usage. This commit also avoids pushing these requests to the queue in the first place.
- Loading branch information
Showing
1 changed file
with
33 additions
and
1 deletion.
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