sched: crash-safe admin ordering, create watermark, poll freshness (T13 fix)
This commit is contained in:
@@ -32,6 +32,8 @@ class Schedule:
|
||||
enabled: bool
|
||||
paused: bool
|
||||
deleted: bool
|
||||
exhausted: bool
|
||||
blocked_reason: str | None
|
||||
overlap: str
|
||||
misfire: str
|
||||
max_active_runs: int
|
||||
@@ -50,6 +52,8 @@ class Schedule:
|
||||
enabled: bool,
|
||||
paused: bool,
|
||||
deleted: bool,
|
||||
exhausted: bool,
|
||||
blocked_reason: str | None,
|
||||
overlap: str,
|
||||
misfire: str,
|
||||
max_active_runs: int,
|
||||
@@ -65,6 +69,8 @@ class Schedule:
|
||||
object.__setattr__(self, "enabled", enabled)
|
||||
object.__setattr__(self, "paused", paused)
|
||||
object.__setattr__(self, "deleted", deleted)
|
||||
object.__setattr__(self, "exhausted", exhausted)
|
||||
object.__setattr__(self, "blocked_reason", blocked_reason)
|
||||
object.__setattr__(self, "overlap", overlap)
|
||||
object.__setattr__(self, "misfire", misfire)
|
||||
object.__setattr__(self, "max_active_runs", max_active_runs)
|
||||
@@ -135,6 +141,8 @@ class Schedule:
|
||||
enabled=wire["enabled"],
|
||||
paused=wire["paused"],
|
||||
deleted=wire["deleted"],
|
||||
exhausted=wire["exhausted"],
|
||||
blocked_reason=wire["blocked_reason"],
|
||||
overlap=wire["overlap"],
|
||||
misfire=wire["misfire"],
|
||||
max_active_runs=wire["max_active_runs"],
|
||||
|
||||
Reference in New Issue
Block a user