-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rate limit is a mandatory argument on `NewQueue()`, if greater than 0 will configure a rate limiting control to call sync. Every single call to `Add()` is rate limited before calling `sync()`. Use `Notify()` instead if a single/global rate limit should be used instead one per added item.
- Loading branch information
1 parent
1b30c79
commit 38377fe
Showing
2 changed files
with
73 additions
and
13 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