fix script for real

This commit is contained in:
Andre Medeiros 2022-07-13 11:40:58 -04:00
parent 12435d7605
commit 69a7e31c37
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ func evalScript(ctx context.Context, redis *redis.Client) (string, error) {
local key = KEYS[1] .. ":" .. ARGV[i]
if redis.call("exists", key) == 0 then
redis.call("setex", key, %.0f, 1)
retv[#retv + 1] = ids[i]
retv[#retv + 1] = ARGV[i]
end
end