Automattic / wp-memcached

Memcached Object Cache for WordPress.
https://wordpress.org/plugins/memcached/
GNU General Public License v2.0
160 stars 55 forks source link

Don't allow expiry > 30 days #11

Closed mjangda closed 7 years ago

mjangda commented 7 years ago

That is the max that memcached allows.

This is often due to incorrect data being passed in, like a timestamp, which often tends to be in the past (e.g. YEAR_IN_SECONDS) and therefore instantly expires.

https://github.com/memcached/memcached/wiki/Programming#expiration