mirror of
https://github.com/softprops/action-gh-release.git
synced 2026-03-23 13:05:46 +08:00
node_modules
This commit is contained in:
10
node_modules/bottleneck/src/redis/increment_reservoir.lua
generated
vendored
Normal file
10
node_modules/bottleneck/src/redis/increment_reservoir.lua
generated
vendored
Normal 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
|
||||
Reference in New Issue
Block a user