aistats / node_modules /bottleneck /src /redis /validate_client.lua
mikmc5's picture
Upload 2179 files
f1a6f30 verified
Raw History Blame Contribute Delete
167 Bytes
if not redis.call('zscore', client_last_seen_key, client) then
return redis.error_reply('UNKNOWN_CLIENT')
end
redis.call('zadd', client_last_seen_key, now, client)