make memory usage cloudlog an event

pull/20768/head
Adeeb Shihadeh 4 years ago
parent 3c9e46d8a2
commit 83e8ccb4ef
  1. 2
      selfdrive/thermald/thermald.py

@ -245,7 +245,7 @@ def thermald_thread():
msg.deviceState.usbOnline = HARDWARE.get_usb_present()
if EON and started_ts is not None and msg.deviceState.memoryUsagePercent > 40:
cloudlog.warning("High offroad memory usage", mem=msg.deviceState.memoryUsagePercent)
cloudlog.event("High offroad memory usage", mem=msg.deviceState.memoryUsagePercent)
# Fake battery levels on uno for frame
if (not EON) or is_uno:

Loading…
Cancel
Save