-
-
Notifications
You must be signed in to change notification settings - Fork 343
Open
Description
Is there any way to reload configuration in a runtime ?
i.e my app is running and i need to change some values in config.ini without restarting the app
# config.ini
[auth]
token_ttl=3600 # changing to 3900
I found a solution with watchdog library, which tracks config.ini file and reload configuration with from_ini() method
container.config.from_ini(self._config_path)
but maybe there are better ways to do it ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels