memcached entry expiration set to 0

我与影子孤独终老i 提交于 2019-12-25 02:44:50

问题


Does memcached entries with expiry time set to 0 not expire - as mentioned in the PHP Memcached docs, but not mentioned in the memcached protocol spec?

I am using spymemcached client and the docs for spymemcached does not say anything about it either.


回答1:


Setting expiration to 0 means the item has no expiration. Therefore it will never expire.



来源:https://stackoverflow.com/questions/22212647/memcached-entry-expiration-set-to-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!