dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

CL.THROTTLE wrong "reset to its maximum capacity" return value

Open odedponcz opened this issue 1 year ago • 0 comments

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

  1. (integer) 0
  2. (integer) 16
  3. (integer) 15
  4. (integer) -1
  5. (integer) 3

With redis-cell as a module CL.THROTTLE user123 15 30 60 1

  1. (integer) 0
  2. (integer) 16
  3. (integer) 15
  4. (integer) -1
  5. (integer) 2

odedponcz avatar Mar 29 '23 12:03 odedponcz