feat(simulation): optimize and persist collision viewing
This commit is contained in:
@@ -28,10 +28,18 @@ class MissionCoreWatchdogError(RuntimeError):
|
||||
|
||||
@dataclass(frozen=True, slots=True)
|
||||
class MissionCoreWatchdogPolicy:
|
||||
startup_grace_seconds: float = 45.0
|
||||
# Cold startup on the 18 GB control laptop includes validating the durable
|
||||
# recorded-evidence catalog and can exceed two minutes under storage load.
|
||||
# This applies only before the first probe; steady-state failures retain the
|
||||
# much tighter bounded policy below.
|
||||
startup_grace_seconds: float = 300.0
|
||||
probe_interval_seconds: float = 2.0
|
||||
probe_timeout_seconds: float = 1.0
|
||||
consecutive_failure_limit: int = 3
|
||||
# Source hashing and resumable multi-gigabyte uploads can briefly delay the
|
||||
# synchronous readiness projection without making the service unhealthy.
|
||||
# Six bounded five-second probes still fail closed, but do not turn normal
|
||||
# storage pressure into a restart loop that discards upload progress.
|
||||
probe_timeout_seconds: float = 5.0
|
||||
consecutive_failure_limit: int = 6
|
||||
graceful_shutdown_seconds: float = 12.0
|
||||
|
||||
def __post_init__(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user