mirror of
https://github.com/github/codeql-action.git
synced 2026-11-25 02:56:45 +00:00
12 lines
237 B
Lua
12 lines
237 B
Lua
local refresh_expiration = function (now, nextRequest, groupTimeout)
|
|
|
|
if groupTimeout ~= nil then
|
|
local ttl = (nextRequest + groupTimeout) - now
|
|
|
|
for i = 1, #KEYS do
|
|
redis.call('pexpire', KEYS[i], ttl)
|
|
end
|
|
end
|
|
|
|
end
|