Hi,
What's memcached's maximum key expiration time?
If I don't provide an expiration time and the cache gets full, what happens?
Hi,
What's memcached's maximum key expiration time?
If I don't provide an expiration time and the cache gets full, what happens?
If you don't provide expiration and cache get's full then the oldest key-values are expired first.
OK, I found out that the number of seconds may not exceed 2592000 (30 days). So the maximum expiration time is 30 days.
I believe you can set key expiration to a date, instead of an amount of time. The date can be more than 30 days in the future: