Skip to main content

reload

Function reload 

Source
pub fn reload()
Expand description

Re-read rws.config.toml and apply all hot-reloadable changes in-place.

Called automatically when RELOAD_REQUESTED is set (SIGHUP on Unix) or from the POST /admin/config/reload handler.

Settings that cannot be changed without a restart (IP, port, thread count, TLS cert/key) are silently ignored — they are re-parsed from the file but have no effect until the next process start.