only about adding the delay seconds with such factor, or can it also decrease the delay seconds from the base amount?
m
Marvin
08/21/2024, 5:10 AM
The
retry_jitter_factor
in Prefect is used to add variance to the base retry delay, providing a random amount of time around the base delay to help prevent "thundering herd" scenarios. Specifically:
- It can increase the base delay by up to the factor specified.
- It does not decrease the base delay below the original value.
For instance, if the base delay is 10 seconds and the
retry_jitter_factor
is 0.5, the delay can range up to 15 seconds but not below 10 seconds.
For further details, you can refer to the Prefect documentation on tasks.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.