disable GC for locationd and paramsd (#20680)

This commit is contained in:
Willem Melching
2021-04-15 08:59:29 +02:00
committed by GitHub
parent 2eac604993
commit fc478ff920
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
import gc
import math
import json
@@ -65,6 +66,8 @@ class ParamsLearner:
def main(sm=None, pm=None):
gc.disable()
if sm is None:
sm = messaging.SubMaster(['liveLocationKalman', 'carState'], poll=['liveLocationKalman'])
if pm is None: