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
6
node_modules/bottleneck/src/redis/check.lua
generated
vendored
Normal file
6
node_modules/bottleneck/src/redis/check.lua
generated
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
local weight = tonumber(ARGV[num_static_argv + 1])
|
||||
|
||||
local capacity = process_tick(now, false)['capacity']
|
||||
local nextRequest = tonumber(redis.call('hget', settings_key, 'nextRequest'))
|
||||
|
||||
return conditions_check(capacity, weight) and nextRequest - now <= 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue