CPU optimizartion work 2 #1144
Some checks failed
Deploy MkDocs / deploy (push) Has been cancelled
Code checks / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled

This commit is contained in:
jokob-sk
2025-08-26 08:26:55 +10:00
parent d88aa9d6eb
commit 3106b39566
3 changed files with 72 additions and 22 deletions

View File

@@ -93,6 +93,7 @@ def main ():
mylog('debug', '[MAIN] Starting loop')
all_plugins = None
pm = None
# -- SETTINGS BACKWARD COMPATIBILITY START --
# rename settings that have changed names due to code cleanup or migration to plugins
@@ -102,10 +103,7 @@ def main ():
while True:
# re-load user configuration and plugins
all_plugins, imported = importConfigs(db, all_plugins)
# initiate plugin manager
pm = plugin_manager(db, all_plugins)
pm, all_plugins, imported = importConfigs(pm, db, all_plugins)
# update time started
conf.loop_start_time = timeNowTZ()