mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-24 20:52:08 +08:00
fix dmonitoringmodeld random high CPU usage (#2216)
* exp attempt1
* attempt2 less hacky
old-commit-hash: da147b2534
This commit is contained in:
@@ -238,7 +238,6 @@ car_started_processes = [
|
||||
'calibrationd',
|
||||
'paramsd',
|
||||
'camerad',
|
||||
'modeld',
|
||||
'proclogd',
|
||||
'locationd',
|
||||
'clocksd',
|
||||
@@ -270,6 +269,9 @@ if ANDROID:
|
||||
'rtshield',
|
||||
]
|
||||
|
||||
# starting dmonitoringmodeld when modeld is initializing can sometimes \
|
||||
# result in a weird snpe state where dmon constantly uses more cpu than normal.
|
||||
car_started_processes += ['modeld']
|
||||
|
||||
def register_managed_process(name, desc, car_started=False):
|
||||
global managed_processes, car_started_processes, persistent_processes
|
||||
|
||||
Reference in New Issue
Block a user