Retry Settings
Retry settings that are applied to tasks in case of failure
- class qarnot.retry_settings.RetrySettings(maxTotalRetries: int | None = None, maxPerInstanceRetries: int | None = None)[source]
Bases:
objectRepresents task retry settings.
- __init__(maxTotalRetries: int | None = None, maxPerInstanceRetries: int | None = None)[source]
Create a new
RetrySettings.If neither
maxTotalRetriesnormaxPerInstanceRetriesare set (or if they are equal to 0), the instances will not retry. If bothmaxTotalRetriesandmaxPerInstanceRetriesare set, then the most restrictive applies.