Skip to content

Fix never forget cooldown seconds in checkCooldownAndRemoveIfExpired. #211

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

Merged

Conversation

imunew
Copy link
Contributor

@imunew imunew commented Feb 14, 2019

I execute ${cachableModel}->scopeWithCacheCooldownSeconds.
But cooldown seconds never been changed.
So, I found this problem in Caching::checkCooldownAndRemoveIfExpired.
(Maybe copy and paste code but not changed from cooldown:invalidated-at to cooldown:seconds ?)

@mikebronner
Copy link
Owner

Thanks for posting a possible solution! :) I will take a look at this, hopefully this weekend. I'm pretty swamped at the moment with another project, so can't make any concrete promises.

@imunew
Copy link
Contributor Author

imunew commented Feb 28, 2019

@mikebronner Can you review this PR in this week?

@mikebronner
Copy link
Owner

I will try. I am currently working on Laravel 5.8 compatibility and will review the PRs after that.

@mikebronner mikebronner merged commit 29a90d3 into mikebronner:master Feb 28, 2019
@mikebronner
Copy link
Owner

yea, that was a copy/paste issue, thanks for finding that!

@imunew imunew deleted the fix/never_forget_cooldown_seconds branch March 1, 2019 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants