<#1019 Support for RetryStrategy and Timeout types...
# flyte-github
a
#1019 Support for RetryStrategy and Timeout types Pull request opened by kumare3 • This makes it easier to control execution delays, performance and failures like queued times etc Fixes: flyteorg/flyte#7307 And related to: flyteorg/flyte#7308 Example Exponential backoff @env.task( retries=flyte.RetryStrategy( count=4, backoff=flyte.Backoff( base=timedelta(seconds=1), factor=2.0, cap=timedelta(seconds=3), ), ), ) async def flaky_call() -> str: Controllable timeouts @env.task( timeout=flyte.Timeout( max_runtime=timedelta(minutes=10), max_queued_time=timedelta(minutes=5), deadline=timedelta(minutes=30), ), ) async def bounded_work() -> str: flyteorg/flyte-sdk