30 Days Expiration Limit
Closed this issue · 4 comments
Hi guys. Could you please allow the expiration to be limitless for different caches. Currently there is this hardcoded 30 days check. Is there a way to bypass this limitation?
This will be included with the next release.
Great, thanks
I've checked the existing code and it is already possible to configure the non-expiring cache. It is sufficient to set the expiration as 0
(zero) e.g.
memcached.cache:
expiration: 1d
expiration-per-cache:
books: 0
In the given example, your default expiration would be 1 day, except for books
cache being limitless i.e. the books
cache will never expire.
Could you try it and let me know if this works for you?
Hi. Sorry for the late response. Unfortunately this does not fix my problem because I need a specific expiration of e.g. 90 days. A non-expiring cache is not applicable in my case