Fixed - RReliableTopic throws "attempt to compare nil with number" error. #4190

pull/4240/head
Nikita Koksharov 3 years ago
parent 428f3cebbb
commit 9623836fc4

@ -226,7 +226,7 @@ public class RedissonReliableTopic extends RedissonExpirable implements RReliabl
+ "end; "
+ "local t = redis.call('zrange', KEYS[5], 0, 0, 'WITHSCORES'); "
+ "if tonumber(t[2]) < tonumber(ARGV[3]) then "
+ "if #t == 2 and tonumber(t[2]) < tonumber(ARGV[3]) then "
+ "redis.call('hdel', KEYS[3], t[1]); "
+ "redis.call('zrem', KEYS[2], t[1]); "
+ "redis.call('zrem', KEYS[5], t[1]); "

Loading…
Cancel
Save