reduce STATUS_PACKET logging frequency to every 10 minutes

pull/20634/head
Adeeb Shihadeh 4 years ago
parent 0e10b74a61
commit 14295e9203
  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