dragonfly
dragonfly copied to clipboard
CL.THROTTLE wrong "reset to its maximum capacity" return value
The last return value indicates the number of seconds until the limit will reset to its maximum capacity. Dragonfly always adds 1 second to the limit. With Dragonfly: CL.THROTTLE user123 15 30 60
- (integer) 0
- (integer) 16
- (integer) 15
- (integer) -1
- (integer) 3
With redis-cell as a module CL.THROTTLE user123 15 30 60 1
- (integer) 0
- (integer) 16
- (integer) 15
- (integer) -1
- (integer) 2