Fix retrying uploads by using Octokit retry plugin.
This commit is contained in:
parent
e67ba57e65
commit
31c2eca167
118 changed files with 19025 additions and 117 deletions
11
node_modules/bottleneck/src/redis/refresh_expiration.lua
generated
vendored
Normal file
11
node_modules/bottleneck/src/redis/refresh_expiration.lua
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue