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

Default cache TTL only 30 seconds? (Laravel 5.8 changed TTL units) #184

Open
chuck-wood opened this issue Aug 12, 2020 · 0 comments
Open

Comments

@chuck-wood
Copy link

chuck-wood commented Aug 12, 2020

In Laravel 5.8, the cache item time-to-live changed from minutes to seconds.

The default cache TTL in GeoIP is "30":

I presume this was supposed to be 30 minutes, not 30 seconds? The unit is not specified in the documentation, which would be useful either way.

Recommended fix: change 30 in the above locations to 1800.

@chuck-wood chuck-wood changed the title Default cache TTL maybe too short since Laravel 5.8 Default cache TTL only 30 seconds? (Laravel 5.8 changed TTL units) Aug 12, 2020
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

No branches or pull requests

1 participant