update networkchaos bandwidth docs (#397)

Signed-off-by: cwen0 <cwenyin0@gmail.com>
This commit is contained in:
Cwen Yin 2023-08-23 11:18:35 +08:00 committed by GitHub
parent e30874a9ee
commit 6dbf849eab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ Setting `action` to `bandwidth` means simulating bandwidth limit fault. You also
| Parameter | Type | Description | Default value | Required | Example |
| --- | --- | --- | --- | --- | --- |
| rate | string | Indicates the rate of bandwidth limit | | Yes | 1mbps |
| rate | string | Indicates the rate of bandwidth limit. Allows bit, kbit, mbit, gbit, tbit, bps, kbps, mbps, gbps, tbps unit. bps means bytes per second | | Yes | 1mbps |
| limit | uint32 | Indicates the number of bytes waiting in queue | | Yes | 1 |
| buffer | uint32 | Indicates the maximum number of bytes that can be sent instantaneously | | Yes | 1 |
| peakrate | uint64 | Indicates the maximum consumption of `bucket` (usually not set) | | No | 1 |