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.