Settings
Help

Module reload_cfg

Module reload_cfg 

Source
Expand description

Code to watch configuration files for any changes.

StructsΒ§

Application πŸ”’
Internal type to represent the Arti application as a ReconfigurableModule.

ConstantsΒ§

DEBOUNCE_INTERVAL πŸ”’
How long to wait after an event got received, before we try to process it.

TraitsΒ§

ReconfigurableModule
An object that can be reconfigured when our configuration changes.

FunctionsΒ§

prepare πŸ”’
Find the configuration files and prepare the watcher
reconfigure πŸ”’
Reload the configuration files, apply the runtime configuration, and reconfigure the client as much as we can.
reload_configuration πŸ”’
Reload the configuration.
run_watcher πŸ”’
Start watching for configuration changes.
watch_for_config_changes
Launch a thread to reload our configuration files.