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.4] fix rate limiter cache leak #20684

Merged
merged 1 commit into from
Aug 22, 2017

Conversation

halaei
Copy link
Contributor

@halaei halaei commented Aug 22, 2017

The added if-block detects and fix the leak. The leak is still possible when the added if-block fails, although practically unlikely.

@halaei
Copy link
Contributor Author

halaei commented Aug 22, 2017

IMO, still better to have increment() method accept a third decay/ttl param.

@taylorotwell
Copy link
Member

What do you mean by "leak". Need more explanation.

@it-can
Copy link
Contributor

it-can commented Aug 22, 2017

Hi Taylor, see this issue #20641

@taylorotwell taylorotwell merged commit 50368da into laravel:5.4 Aug 22, 2017
@taylorotwell
Copy link
Member

Thanks

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.

3 participants