Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
143 views
in Technique[技术] by (71.8m points)

memcached里面,重新set expire是什么效果?

memcached里面,重新set expire是什么效果?

如果我第一次设置时expire为10S,第二次更新值时把expire更新为20秒,那么,这个expire是从第一次设置的时候开始算,还是在第二次更新的时候开始算?

我的环境访问没有工具访问,不知道怎么验证,请有经验的人帮帮忙。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

以第二次设置的时开始往后延 20s。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...