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:
object
Represents task retry settings.
- __init__(maxTotalRetries: int | None = None, maxPerInstanceRetries: int | None = None)[source]
Create a new
RetrySettings
.If neither
maxTotalRetries
normaxPerInstanceRetries
are set (or if they are equal to 0), the instances will not retry. If bothmaxTotalRetries
andmaxPerInstanceRetries
are set, then the most restrictive applies.