-
Notifications
You must be signed in to change notification settings - Fork 464
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[4.3] HELP-16635: deduct tokens on all API requests (#6628)
* [4.3] HELP-16635: deduct tokens on all API requests Each time an API request is made, deduct the token cost from the associated bucket. As part of the changes, some property tests needed updating because they exceed the token bucket. These tests disable the cost while they run and replace the prior value when they end. Another issue resolved is that bindings in blackhole, when using the kz_hooks facility, were done asynchronously. This meant that a speedy response to the websocket client followed by a generated event could occur faster than the kz_hook listener could bind its AMQP queue to the new binding. The blackhole response to a subscription now blocks until the AMQP queue is established. * edoc
- Loading branch information
1 parent
2bfbf8b
commit 3806bff
Showing
6 changed files
with
126 additions
and
42 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
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
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