reduce STATUS_PACKET logging frequency to every 10 minutes

old-commit-hash: 14295e9203224710d3b1013314a7be8c496db96c
This commit is contained in:
Adeeb Shihadeh
2021-04-08 22:50:11 -07:00
parent 3833a80305
commit 18a27c6b43

View File

@@ -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,