Fix debounce of api points to address Disk IO #914 + NMAPDEV_FAKE_MAC

This commit is contained in:
jokob-sk
2024-12-19 20:15:15 +11:00
parent 773b49a1b4
commit f38d72a690
9 changed files with 107 additions and 42 deletions

View File

@@ -332,7 +332,7 @@ def importConfigs (db, all_plugins):
# setup execution schedules AFTER OVERRIDE handling
mylog('verbose', [f"[Config] c_d {c_d}"])
# mylog('verbose', [f"[Config] c_d {c_d}"])
for plugin in all_plugins:
# Setup schedules
@@ -383,7 +383,7 @@ def importConfigs (db, all_plugins):
db.commitDB()
# update only the settings datasource
update_api(db, all_plugins, ["settings"])
update_api(db, all_plugins, True, ["settings"])
# run plugins that are modifying the config
run_plugin_scripts(db, all_plugins, 'before_config_save' )