Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.5] Make the requests throttler less aggressive #20759

Merged
merged 7 commits into from Aug 25, 2017
Merged

[5.5] Make the requests throttler less aggressive #20759

merged 7 commits into from Aug 25, 2017

Conversation

themsaid
Copy link
Member

Currently if you have 10 requests per minute and at second :59 of the minute you hit the limit you'll have to wait another 1 minute until the lock is released.

In this PR the bucket is reset at the end of the duration set for the limiter, so if you hit the limit at :59 you can send a new request at :00 again.

@taylorotwell taylorotwell merged commit 96cd6b3 into laravel:master Aug 25, 2017
@themsaid themsaid deleted the throttleRequestsLessAgressive branch August 25, 2017 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants