-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
beater/api/intake: fix rate limiting (#5518)
* beater/api/intake: fix rate limiting Copy the batch processor in the closure before copying, to avoid wrapping it multiple times. * systemtest: fix rate limiting test The test was wrong, and only passed because of the bug that has been fixed. We should be using up the per-IP event limits on the first two requests, but weren't taking into account the burst multiplier (limit x 3).
- Loading branch information
Showing
3 changed files
with
30 additions
and
4 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