ui: kick watchdog (#35460)

* kick watchdog

* use global

* use monotonic
This commit is contained in:
Dean Lee
2025-06-06 04:14:57 +08:00
committed by GitHub
parent 8aadf02b2f
commit 23ea85dca6
3 changed files with 27 additions and 2 deletions
+1 -2
View File
@@ -16,9 +16,8 @@ import openpilot.system.sentry as sentry
from openpilot.common.basedir import BASEDIR
from openpilot.common.params import Params
from openpilot.common.swaglog import cloudlog
from openpilot.system.hardware.hw import Paths
from openpilot.common.watchdog import WATCHDOG_FN
WATCHDOG_FN = f"{Paths.shm_path()}/wd_"
ENABLE_WATCHDOG = os.getenv("NO_WATCHDOG") is None