Fix retrying uploads by using Octokit retry plugin.

This commit is contained in:
Chris Gavin 2020-09-21 11:06:21 +01:00
parent e67ba57e65
commit 31c2eca167
No known key found for this signature in database
GPG key ID: 07F950B80C27E4DA
118 changed files with 19025 additions and 117 deletions

View file

@ -0,0 +1,10 @@
local incr = tonumber(ARGV[num_static_argv + 1])
redis.call('hincrby', settings_key, 'reservoir', incr)
local reservoir = process_tick(now, true)['reservoir']
local groupTimeout = tonumber(redis.call('hget', settings_key, 'groupTimeout'))
refresh_expiration(0, 0, groupTimeout)
return reservoir