Automatic retries

Automatic retries rerun a failed task according to the number of attempts (retries) and the delay (retry_delay) defined. They absorb temporary outages such as an unstable network or a momentarily unavailable service. An exponential delay option progressively spaces out the attempts.

Example

default_args={'retries': 3, 'retry_delay': timedelta(minutes=5)}

Related concepts

The whole glossary