From 69a7e31c377c1233e2f34104bd928e998ecbe5d9 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Wed, 13 Jul 2022 11:40:58 -0400 Subject: [PATCH] fix script for real --- internal/cmd/scheduler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmd/scheduler.go b/internal/cmd/scheduler.go index 0ad40dc..295292d 100644 --- a/internal/cmd/scheduler.go +++ b/internal/cmd/scheduler.go @@ -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