-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: #68 We currently lack a way to clean processed messages which makes our queue status list longer and longer. This PR add a new method `purge` to solve this problem. 1. Add a new method `purge` to remove processed messages like `queued` ones. 2. Unify the `iter_queued` method and `iter_processed` method. 3. Unify the `purge` and `reject` method. 4. Add a new test for `purge`
- Loading branch information
1 parent
dffef07
commit dc4c6c9
Showing
2 changed files
with
100 additions
and
37 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
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