Skip to content

m-settings: Module to handle JSON config settings.

Ashok Sidipotu requested to merge settings-in-json into config-refactoring

This is the first MR in our eventual plan to move all the settings to JSON from config/lua.

  • parse settings from .conf file.

  • create "sm-settings" metadata and copy settings as key value pairs to it.

  • put in place "persistent" behavior, control it with a special setting.

  • when persistent behavior is enabled.

    • create a state file and update settings to it.
    • monitor changes in the metadata and update the settings to state file.

Merge request reports