mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 23:47:44 +00:00
fix script for real
This commit is contained in:
parent
12435d7605
commit
69a7e31c37
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue