Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 208 Bytes
local modified={};
for i,k in ipairs(KEYS) do
local ttl=redis.call('ttl', k);
if ttl == -1 then
redis.call('EXPIRE', k, 60)
modified[#modified + 1] = k;
end
end
return modified;