HTTP_CLIENT_CONNECT_THROTTLE Dynamic Config
Token bucket throttling options for new connections (socket(3)).
*-limit
- token bucket size, set to 0
to disable the limit
*-per-second
- token bucket size refill speed 0 as any value disables the throttling. First, the http-*/https-* limit is processed, after that per-host-* limit is processed. All three token buckets work independently on all cluster hosts.
Schema:
# yaml
default:
max-size: 100
token-update-interval-ms: 0
description: |
Token bucket throttling options for new connections (socket(3)).
* `*-limit` - token bucket size, set to `0` to disable the limit
* `*-per-second` - token bucket size refill speed
0 as any value disables the throttling.
First, the http-*/https-* limit is processed, after that per-host-* limit is processed.
All three token buckets work independently on all cluster hosts.
schema:
type: object
properties:
http-limit:
type: integer
minimum: 0
http-per-second:
type: integer
minimum: 0
https-limit:
type: integer
minimum: 0
https-per-second:
type: integer
minimum: 0
per-host-limit:
type: integer
minimum: 0
per-host-per-second:
type: integer
minimum: 0
max-size:
type: integer
minimum: 1
token-update-interval-ms:
type: integer
minimum: 0
http-max-size:
type: integer
minimum: 1
default: 100
http-token-update-interval-ms:
type: integer
minimum: 0
default: 100
additionalProperties: false
For a full list of dynamic configs see Dynamic config schemas list