test onroad: explicit memory leak check (#28502)

old-commit-hash: 2f117e88b775a0b53a3ae99ae943caaa66f952f2
This commit is contained in:
Adeeb Shihadeh
2023-06-11 14:43:25 -07:00
committed by GitHub
parent c31a4a40cf
commit d2ec950790
2 changed files with 9 additions and 1 deletions
-1
View File
@@ -262,7 +262,6 @@ class Controls:
if self.sm['deviceState'].freeSpacePercent < 7 and not SIMULATION:
# under 7% of space free no enable allowed
self.events.add(EventName.outOfSpace)
# TODO: make tici threshold the same
if self.sm['deviceState'].memoryUsagePercent > 90 and not SIMULATION:
self.events.add(EventName.lowMemory)