Module arti::reload_cfg
source · Expand description
Code to watch configuration files for any changes.
Structs§
- Internal type to represent the Arti application as a
ReconfigurableModule
. - A wrapper around
notify::RecommendedWatcher
to watch a set of parent directories in order to learn about changes in some specific files that they contain. - Builder used to configure a
FileWatcher
before it starts watching for changes.
Enums§
- Event 🔒Event possibly triggering a configuration reload
Constants§
- How long to wait after an event got received, before we try to process it.
Traits§
- An object that can be reconfigured when our configuration changes.
Functions§
- Reload the configuration files, apply the runtime configuration, and reconfigure the client as much as we can.
- Launch a thread to reload our configuration files.