Skip to main content

Interface: IdempotencyOptions

Defined in: src/idempotency/IdempotencyManager.ts:4

Properties​

lockTimeoutMs?​

optional lockTimeoutMs?: number

Defined in: src/idempotency/IdempotencyManager.ts:6

Lock timeout in milliseconds before an IN_PROGRESS request is considered timed out. Default 30,000ms (30s).


ttlMs?​

optional ttlMs?: number

Defined in: src/idempotency/IdempotencyManager.ts:8

Retention TTL in milliseconds for completed responses. Default 86,400,000ms (24h).


removeOnFailure?​

optional removeOnFailure?: boolean

Defined in: src/idempotency/IdempotencyManager.ts:10

Whether to delete or clear the idempotency lock on failure so the client can retry. Default true.