setup integration test
This commit is contained in:
8
node_modules/bottleneck/src/redis/blacklist_client.lua
generated
vendored
Normal file
8
node_modules/bottleneck/src/redis/blacklist_client.lua
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
local blacklist = ARGV[num_static_argv + 1]
|
||||
|
||||
if redis.call('zscore', client_last_seen_key, blacklist) then
|
||||
redis.call('zadd', client_last_seen_key, 0, blacklist)
|
||||
end
|
||||
|
||||
|
||||
return {}
|
Reference in New Issue
Block a user