Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rabbit_fifo: Suggest a checkpoint when all enqueuers disconnect
Checkpoints are normally only taken after enqueuing many messages. We can suggest a checkpoint when all enqueuers disconnect so that the queue is likely to recover in minimal time from the current index.
- Loading branch information
1 parent
b1d8269
commit df6c9d7
Showing
1 changed file
with
29 additions
and
11 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