V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  hipop  ›  全部回复第 1 页 / 共 1 页
回复总数  1
2021 年 3 月 16 日
回复了 90928yao 创建的主题 程序员 redis 的 incr 的过期时间问题
lua 脚本

count = incr key
if (count == 1) then
expire key 10000
end
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1066 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 23:50 · PVG 07:50 · LAX 16:50 · JFK 19:50
♥ Do have faith in what you're doing.