File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -412,6 +412,9 @@ definitions:
412412
413413 RateLimiter :
414414 type : object
415+ description :
416+ Defines an IO rate limiter with independent bytes/s and ops/s limits.
417+ Limits are defined by configuring each of the _bandwidth_ and _ops_ token buckets.
415418 properties :
416419 bandwidth :
417420 $ref : " #/definitions/TokenBucket"
@@ -422,6 +425,13 @@ definitions:
422425
423426 TokenBucket :
424427 type : object
428+ description :
429+ Defines a token bucket with a fixed size/capacity and refill_time.
430+ The refill-rate is derived from size and refill_time, and it is the constant
431+ rate at which the tokens replenish.
432+ Consumption from the token bucket is unbounded in speed which allows for bursts
433+ bound in size by the amount of tokens available.
434+ Once the token bucket is empty, consumption speed is bound by the refill_rate.
425435 properties :
426436 size :
427437 type : integer
You can’t perform that action at this time.
0 commit comments