memcached条目过期设置为0 [英] memcached entry expiration set to 0
本文介绍了memcached条目过期设置为0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将过期时间设置为0的memcached条目不会过期-如 PHP Memcached文档,但在 memcached协议规范中未提及?
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?
我使用的是spymemcached客户程序,而关于spymemcached的文档也没有对此说任何话.
I am using spymemcached client and the docs for spymemcached does not say anything about it either.
推荐答案
将到期设置为0表示该项目没有到期.因此它永远不会过期.
Setting expiration to 0 means the item has no expiration. Therefore it will never expire.
这篇关于memcached条目过期设置为0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文