changes restart_on_failure default to True

This commit is contained in:
Mose Müller 2025-01-17 17:37:52 +01:00
parent db559e8ada
commit 303de82318

View File

@ -97,7 +97,7 @@ class PerInstanceTaskDescriptor(Generic[R]):
def task( # noqa: PLR0913
*,
autostart: bool = False,
restart_on_failure: bool = False,
restart_on_failure: bool = True,
restart_sec: float = 1.0,
start_limit_interval_sec: float | None = None,
start_limit_burst: int = 3,