ZF-3490: Throw an exception for exceeding lifetimes
Description
For the memcached backend, there is a lifetime limit of 30 days (2592000 seconds). Memcached will not store cache entries that have a lifetime longer than that, but the backend doesn't throw any error. So, the memcached backend should throw an exception if the lifetime exceeds 2592000 seconds, so debugging on this issue is much easier.
Comments
Posted by Fabien MARTY (fab) on 2008-06-22T03:14:02.000+0000
an exception could be see as an API break
so a warning in log is probably a good compromise, isn't it ?
Posted by Pieter Kokx (kokx) on 2008-06-22T03:32:05.000+0000
It is a lot better than giving a lifetime of a year that is not working while you don't know why, and yes, the log is a good compromise.
Posted by Fabien MARTY (fab) on 2008-07-05T06:00:09.000+0000
fixed in SVN trunk (thanks)
Posted by Wil Sinclair (wil) on 2008-09-02T10:38:55.000+0000
Updating for the 1.6.0 release.