mirror of
https://github.com/mCaptcha/cache.git
synced 2024-11-22 00:25:20 +03:00
get counter cmd docs
This commit is contained in:
parent
0629762150
commit
72a25e8806
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue