Skip to content

PartitionConfig

Defined in: src/core/types.ts:108

optional concurrency?: number

Defined in: src/core/types.ts:111

Max concurrent in-flight retries for this partition.

DEFAULT_CONCURRENCY


optional maxQueueSize?: number

Defined in: src/core/types.ts:114

Max number of pending items in the queue before rejecting new ones.

DEFAULT_MAX_QUEUE_SIZE


optional limitFirstAttempts?: boolean

Defined in: src/core/types.ts:117

When true, the first attempt also goes through the bulkhead (R6).

false

optional retry?: RetryConfig

Defined in: src/core/types.ts:118


optional timeout?: TimeoutConfig

Defined in: src/core/types.ts:119


optional circuitBreaker?: CircuitBreakerConfig

Defined in: src/core/types.ts:120


optional retryBudget?: false | RetryBudgetConfig

Defined in: src/core/types.ts:123

Replaces the client-level retryBudget for this partition, field by field. false turns the client-level budget off for this partition.


optional rateLimit?: false | RateLimitConfig

Defined in: src/core/types.ts:126

Replaces the client-level rateLimit for this partition, field by field. false turns the client-level limit off for this partition.


optional pauseOnRetryAfter?: false | PauseOnRetryAfterConfig

Defined in: src/core/types.ts:129

Replaces the client-level pauseOnRetryAfter for this partition, field by field. false turns the client-level pause off for this partition.