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 ?
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.iniwithout restarting the appI found a solution with watchdog library, which tracks
config.inifile and reload configuration withfrom_ini()methodbut maybe there are better ways to do it ?