mirror of
https://github.com/mailscope/kumomta.git
synced 2026-10-29 09:46:15 +00:00
675 B
675 B
kumo.bump_config_epoch()
{{since('2024.11.08-d383b033')}}
Increments the current configuration epoch and notifies various internal modules and processes of the change, causing them to refresh their state.
See Configuration Monitoring for more information on this topic.
This particular function is intended to be used in a reactive manner. For
example, the shaping helper uses kumo.spawn_task and
kumo.http.connect_websocket to subscribe to
the TSA daemon, and then calls kumo.bump_config_epoch() in response to
changes in configuration provides by TSA daemon.