diff options
| author | Zheng Chao <[email protected]> | 2023-03-11 14:51:20 +0800 |
|---|---|---|
| committer | Zheng Chao <[email protected]> | 2023-03-11 14:51:20 +0800 |
| commit | cff79ab47cc7c4da9d5773aeadb833ca252b14b5 (patch) | |
| tree | 0dbb75b1fcb8c48bd06ea5bdbc30c2e400fa67ae /docs | |
| parent | c0cbee9eaacb24762d307f0b4157ffaed6932a16 (diff) | |
:bug: Fix inaccuarte `TINFO` when a token bucket has a zero CIR and zero CBS.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/commands.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/commands.md b/docs/commands.md index b37479f..b619dd4 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -375,7 +375,7 @@ Syntax TCFG key capacity rate ``` -Config a token bucket of `key`, which has a fixed `capacity` bucket and has tokens are added at a fixed `rate`. If `key` does not exist, a new key holding a token bucket is created. +Config a token bucket of `key`, which has a fixed `capacity` bucket and has tokens are added at a fixed `rate`. If `key` does not exist, a new key holding a token bucket is created. If both capacity and rate are 0, the token bucket has infinite tokens. Return |
