Skip to content

BulkheadSnapshot

Defined in: src/queue/bulkhead.ts:330

partition: string

Defined in: src/queue/bulkhead.ts:332

The partition this snapshot describes, named as in CircuitSnapshot.


name: string

Defined in: src/queue/bulkhead.ts:334


running: number

Defined in: src/queue/bulkhead.ts:335


queued: number

Defined in: src/queue/bulkhead.ts:336


concurrency: number

Defined in: src/queue/bulkhead.ts:337


maxQueueSize: number

Defined in: src/queue/bulkhead.ts:338


optional tokens?: number

Defined in: src/queue/bulkhead.ts:341

Rate-limit tokens free right now. Present only when the partition has a rateLimit; 0 while attempts are waiting for theirs.


optional pausedUntil?: number

Defined in: src/queue/bulkhead.ts:344

Epoch ms until which the partition sends nothing, after a Retry-After (see pauseOnRetryAfter). Present only while the pause is active.