get counter cmd docs

This commit is contained in:
realaravinth 2021-06-05 17:49:54 +05:30
parent 0629762150
commit 72a25e8806
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -147,7 +147,13 @@ Every counter has a name and a leak-rate in seconds.
If counter exists, then count is incremented. Otherwise, it is created.
```redis
MCAPTCHA_CACHE.COUNT <counter-name> <leak-rate>
MCAPTCHA_CACHE.COUNT <counter-name> <leak-rate-in-seconds>
```
## Get counter value
```redis
MCAPTCHA_CACHE.GET <counter-name>
```
## Benchmark