diff --git a/selfdrive/manager/process.py b/selfdrive/manager/process.py index ccf780b60c..fdb9dbc5bf 100644 --- a/selfdrive/manager/process.py +++ b/selfdrive/manager/process.py @@ -96,8 +96,8 @@ class ManagerProcess(ABC): if dt > self.watchdog_max_dt: # Only restart while offroad for now - if self.watchdog_seen and ENABLE_WATCHDOG and (not started): - cloudlog.error(f"Watchdog timeout for {self.name} (exitcode {self.proc.exitcode}) restarting") + if self.watchdog_seen and ENABLE_WATCHDOG: + cloudlog.error(f"Watchdog timeout for {self.name} (exitcode {self.proc.exitcode}) restarting ({started=})") self.restart() else: self.watchdog_seen = True diff --git a/selfdrive/manager/process_config.py b/selfdrive/manager/process_config.py index db7906d8a2..91d256f24a 100644 --- a/selfdrive/manager/process_config.py +++ b/selfdrive/manager/process_config.py @@ -17,7 +17,7 @@ procs = [ NativeProcess("proclogd", "selfdrive/proclogd", ["./proclogd"]), NativeProcess("sensord", "selfdrive/sensord", ["./sensord"], enabled=not PC, persistent=EON, sigkill=EON), NativeProcess("ubloxd", "selfdrive/locationd", ["./ubloxd"], enabled=(not PC or WEBCAM)), - NativeProcess("ui", "selfdrive/ui", ["./ui"], persistent=True, watchdog_max_dt=(10 if TICI else None)), + NativeProcess("ui", "selfdrive/ui", ["./ui"], persistent=True, watchdog_max_dt=(5 if TICI else None)), NativeProcess("soundd", "selfdrive/ui", ["./soundd"]), NativeProcess("locationd", "selfdrive/locationd", ["./locationd"]), PythonProcess("calibrationd", "selfdrive.locationd.calibrationd"),