Skip to content

v1.7

Compare
Choose a tag to compare
@alash3al alash3al released this 25 Dec 23:14
· 108 commits to master since this release

New Commands

  • RATELIMITSET <bucket> <limit> <seconds>, create a new $bucket that accepts num of $limit of actions per the specified num of $seconds, it will returns 1 for success.
  • RATELIMITTAKE <bucket>, do an action in the specified bucket and take an item from it, it will return -1 if the bucket not exists or it has unlimited actions $limit < 1, 0 if there are no more actions to be done right now, reminder of actions on success.
  • RATELIMITGET <bucket>, returns array [$limit, $seconds, $remaining_time, $counter] information for the specified bucket
  • KEYS [<regexp-pattern>]
  • HKEYS <HASHMAP>
  • ECHO [<arg1> <arg2> ...]
  • INFO