You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page Jul 15, 2026
·
8 revisions
Filters the backoff ladder for transient publish/update failures.
One entry per retry, in seconds — the ladder's length IS the
retry budget. Return an empty array to disable retries, or a
longer array to raise the budget (the same knob covers both,
so the delay schedule and the attempt cap cannot contradict
each other).
Auto-generated Example
/** * Filters the backoff ladder for transient publish/update failures. * * One entry per retry, in seconds — the ladder's length IS the * retry budget. Return an empty array to disable retries, or a * longer array to raise the budget (the same knob covers both, * so the delay schedule and the attempt cap cannot contradict * each other). * * @param Atmosphere\int[] $delays * @return Atmosphere\int[] The filtered value. */functionmy_atmosphere_publish_retry_delays_callback( Atmosphere\int[] $delays ) {
// Your code here.return$delays;
}
add_filter( 'atmosphere_publish_retry_delays', 'my_atmosphere_publish_retry_delays_callback' );
Parameters
Atmosphere\int[]$delays Retry delays in seconds. Default 60, 300, 900.