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Β§
- Reconfigurable
Module - 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.