mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 19:33:49 +08:00
disable GC for locationd and paramsd (#20680)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user