Fixed - RRateLimiter RateType checking. #1870

pull/1871/head
Nikita Koksharov 6 years ago
parent 705511b53c
commit 319fa71093

@ -197,7 +197,7 @@ public class RedissonRateLimiter extends RedissonObject implements RRateLimiter
+ "assert(rate ~= false and interval ~= false and type ~= false, 'RateLimiter is not initialized')"
+ "local valueName = KEYS[2];"
+ "if type == 1 then "
+ "if type == '1' then "
+ "valueName = KEYS[3];"
+ "end;"

Loading…
Cancel
Save