aistats / node_modules /bottleneck /src /redis /blacklist_client.lua
mikmc5's picture
Upload 2179 files
f1a6f30 verified
Raw History Blame Contribute Delete
180 Bytes
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 {}