basalt / webhooks/src / WebhookOutboxDispatchOptions
Interface: WebhookOutboxDispatchOptions
Defined in: webhooks/src/outbox.ts:28
Options for webhookOutboxDispatch.
Properties
maxTrackedEntries?
> optional maxTrackedEntries?: number
Defined in: webhooks/src/outbox.ts:40
Entries whose per-endpoint progress is remembered between retries (default 10_000). Oldest are forgotten first; a forgotten entry just re-delivers to every endpoint with the same stable ids.
onPermanentFailure?
> optional onPermanentFailure?: (entry, failures) => void
Defined in: webhooks/src/outbox.ts:34
Called when an entry finished with only PERMANENT failures left (SSRF-blocked URL, redirect, non-retryable 4xx, refused signing secret): the entry is NOT retried for them. Default: console.warn. Must never throw.
Parameters
entry
failures
Returns
void