Documentation / @tenancy-node/outbox / OutboxOptions
Interface: OutboxOptions
Defined in: index.ts:16
Properties
baseDelayMs?
optionalbaseDelayMs?:number
Defined in: index.ts:20
Espera base entre intentos (exponencial, con tope de 1 h). Por defecto 5 s.
batchSize?
optionalbatchSize?:number
Defined in: index.ts:22
Eventos por lote del relay. Por defecto 100.
lockMs?
optionallockMs?:number
Defined in: index.ts:26
Tiempo que un relay reserva un lote; si muere, otro lo retoma después. Por defecto 60 s.
maxAttempts?
optionalmaxAttempts?:number
Defined in: index.ts:18
Intentos por evento y destino antes de pasar a dead-letter (failed). Por defecto 10.
pollIntervalMs?
optionalpollIntervalMs?:number
Defined in: index.ts:24
Cada cuánto busca eventos el relay cuando no hay pendientes. Por defecto 1 s.
retentionDays?
optionalretentionDays?:number
Defined in: index.ts:28
Días que se conservan los eventos publicados. Por defecto 7.