e7c1a04b92d85f13c6e0aa47b1d29f80

Reload the map on SIGHUP

Adding a channel is a file change, not a restart. In-flight collect windows keep the map they started with.

Hovhannes Mkhitaryan · 10 Sep 2026, 05:18 · +56 14

agent/python/relay.py+288
@@ agent/python/relay.py
+class Runtime:
+ def reload(self) -> None:
+ self.mapping = load_mapping_from(self.source)
+ self.guard = ScopeGuard(self.mapping)
+if hasattr(signal, "SIGHUP"):
+ signal.signal(signal.SIGHUP, lambda *_: runtime.reload())
agent/node/relay.ts+226
@@ agent/node/relay.ts
+if (process.platform !== "win32") {
+ process.on("SIGHUP", () => { void runtime.reload(); });
+}
docs/scoped-relays.md+60
@@ docs/scoped-relays.md
+## Reload
+`SIGHUP` rebuilds the mapping and the wall.