Files
hpcore/src
rippleitinnz a770ff3a03 feat: dynamic user idle_timeout from patch.cfg without container restart
When user.idle_timeout is present in patch.cfg, apply_patch_config() now
updates all active user sessions via usr::update_idle_timeout() and also
updates the cached metric_thresholds array for future connections.

Previously user.idle_timeout was only read at startup (usr::init()) and could
not be changed on a running node without a container restart.

Implementation:
- comm_server.hpp: added for_each_session() template to iterate live sessions
  (shared with feat/dynamic-mesh-idle-timeout-from-patch-cfg)
- usr.cpp: added update_idle_timeout() which updates metric_thresholds[4] and
  calls set_threshold(IDLE_CONNECTION_TIMEOUT) on all active user sessions
- conf.cpp: reads user.idle_timeout from patch.cfg in apply_patch_config(),
  calls usr::update_idle_timeout() when value changes

Sibling PRs (part of dynamic config series):
- fix/dynamic-log-level-from-patch-cfg (already raised)
- feat/dynamic-mesh-idle-timeout-from-patch-cfg (already raised)
2026-05-21 09:39:16 +12:00
..
2025-06-15 11:13:53 +12:00
2023-07-05 11:07:39 +05:30
2024-01-12 13:38:10 +05:30
2023-09-23 10:15:52 +05:30
2023-06-03 21:21:29 +05:30
2021-09-17 11:53:49 +05:30
2020-09-23 06:06:42 +05:30
2022-01-26 18:51:01 +05:30
2022-01-26 18:51:01 +05:30