Skip to main content

Function: computeRunRetryDelay()

computeRunRetryDelay(policy, attempt, failure): RunRetryDecision

Whether a DURABLE_FN run whose attempt attempt (1-based) just failed, or timed out (failure.timeoutType WORKFLOW_RUN), is started again, and after how long. An execution timeout (WORKFLOW_EXECUTION) bounds the whole chain and is never retried; cancellation and termination never reach this function. The backoff is the activity backoff over the run policy.

Parameters​

policy​

RunRetryPolicy

attempt​

number

failure​

Failure

Returns​

RunRetryDecision