Filter since v1.1.0
fswa_backoff_delay
Controls the retry delay in seconds between failed delivery attempts.
$
/ Signature
apply_filters( 'fswa_backoff_delay', $delay, $attempt, $webhook_id )
/ When it fires
Fires after each failed delivery attempt when scheduling the next retry.
/ Parameters
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| $delay | param | int | yes | Calculated delay in seconds. Default: `min(2^attempt × 30, 3600)`. |
| $attempt | param | int | yes | Current attempt number (1-based). |
| $webhook_id | param | int | yes | Webhook configuration ID. |
/ Returns
int Delay in seconds before the next attempt is scheduled./ Examples
Use fixed 60-second delay for all retries
add_filter( 'fswa_backoff_delay', function ( $delay, $attempt, $webhook_id ) { return 60; }, 10, 3 );
/ Related
Ready Stop losing webhooks.
Stop losing webhooks.
Start logging them.
$ wp plugin install flowsystems-webhook-actions --activate