Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 451 Bytes

File metadata and controls

12 lines (7 loc) · 451 Bytes

Task Backoff

Use exponential backoff to increase the delay between retries. Each retry waits twice as long as the previous one. Enable it with backoff=True on the @action decorator alongside retry and retry_delay.

Example

{* ./docs_src/backoff/backoff.py hl[4,12,17] *}

References