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

Wrong cache expiration value when sc_simple_cache option was set before 1.6.4 #83

Open
benoitchantre opened this issue May 24, 2018 · 0 comments

Comments

@benoitchantre
Copy link
Contributor

With #62, the unit of cache expiration was changed from minutes to hours.
The default value for cache expiration is now 24 hours instead of 1440 minutes. The result is the same, but easier to read.

This change works for new installations of Simple Cache, but for existing ones, the numeric value is kept and the unit is set to hours instead of minutes. If the administrator doesn't notice the change and save Simple Cache configuration, the cache expiration value will be multiplied by 60.

I think the simplest and safest way to fix that is to set back 1440 minutes as default.

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