mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-11-16 03:09:47 +00:00
node_modules
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user