reduce STATUS_PACKET logging frequency to every 10 minutes

old-commit-hash: 14295e9203
commatwo_master
Adeeb Shihadeh 4 years ago
parent 3833a80305
commit 18a27c6b43
  1. 4
      selfdrive/thermald/thermald.py

@ -407,8 +407,8 @@ def thermald_thread():
should_start_prev = should_start
startup_conditions_prev = startup_conditions.copy()
# report to server once per minute
if (count % int(60. / DT_TRML)) == 0:
# report to server once every 10 minutes
if (count % int(600. / DT_TRML)) == 0:
location = messaging.recv_sock(location_sock)
cloudlog.event("STATUS_PACKET",
count=count,

Loading…
Cancel
Save