prefect icon indicating copy to clipboard operation
prefect copied to clipboard

Flow Jitter and Exponential Back Off

Open robfreedy opened this issue 2 years ago • 0 comments

First check

  • [X] I added a descriptive title to this issue.
  • [X] I used the GitHub search to find a similar request and didn't find it.
  • [X] I searched the Prefect documentation for this feature.

Prefect Version

2.x

Describe the current behavior

On retries for tasks, you are able to pass in exponential_backoff and jitter. These parameters do not currently exist as options for flows.

Describe the proposed behavior

Adding exponential backoff and jitter options for flows.

Example Use

@ flow ( retries=3, retry_delay_seconds=exponential_backoff(backoff_factor=10), retry_jitter_factor=1, )

Additional context

No response

robfreedy avatar Apr 07 '23 14:04 robfreedy