The page you navigated to () does not exist, so we brought you to the closest page to it.
You have switched from the to the variant of this site. There is no equivalent of . We have taken you to the closest page in the variant.
2.1.2
RetryStrategy
Package: flyte
Retry strategy for the task or task environment. Retry strategy is optional or can be a simple number of retries.
- This will retry the task 5 times.
@task(retries=5)
def my_task():
pass- This will retry the task 5 times with a maximum backoff of 10 seconds and a backoff factor of 2.
@task(retries=RetryStrategy(count=5))
def my_task():
passParameters
class RetryStrategy(
count: int,
)| Parameter | Type | Description |
|---|---|---|
count |
int |
The number of retries. |