ClientConfigRateLimit
Defined in: src/types/client.ts:23
Properties
Section titled “Properties”backOffBaseMs?
Section titled “backOffBaseMs?”optional backOffBaseMs?: number;Defined in: src/types/client.ts:43
Base delay in milliseconds before retrying a rate-limited request.
Default Value
Section titled “Default Value”5000
backOffOutageBaseMs?
Section titled “backOffOutageBaseMs?”optional backOffOutageBaseMs?: number;Defined in: src/types/client.ts:48
Base delay in milliseconds before retrying during a service outage.
Default Value
Section titled “Default Value”10000
bucketMax?
Section titled “bucketMax?”optional bucketMax?: number;Defined in: src/types/client.ts:28
Maximum number of concurrent token requests allowed in the bucket execution loop.
Default Value
Section titled “Default Value”3
maxQueueSize?
Section titled “maxQueueSize?”optional maxQueueSize?: number;Defined in: src/types/client.ts:38
Max rate limiter queue length before request are rejected.
Default Value
Section titled “Default Value”1000
refillIntervalMs?
Section titled “refillIntervalMs?”optional refillIntervalMs?: number;Defined in: src/types/client.ts:33
Time interval in milliseconds for refilling token execution slots.
Default Value
Section titled “Default Value”250