From 176b5ed563f7022009b70751e62b7ee7901e6da0 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sun, 11 Oct 2026 19:09:04 +0200 Subject: feat(node): carry connections on several cores connection_processes (default 1) starts that many processes for the WebRTC stack; sessions and keys stay in the node. Set from node.toml or the Node page, applied to new connections. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-node/src/meshbay_node/transport/webrtc/sctp_stats.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/meshbay-node/src/meshbay_node/transport/webrtc/sctp_stats.py') diff --git a/packages/meshbay-node/src/meshbay_node/transport/webrtc/sctp_stats.py b/packages/meshbay-node/src/meshbay_node/transport/webrtc/sctp_stats.py index 338ded9..cc2eb1e 100644 --- a/packages/meshbay-node/src/meshbay_node/transport/webrtc/sctp_stats.py +++ b/packages/meshbay-node/src/meshbay_node/transport/webrtc/sctp_stats.py @@ -33,6 +33,9 @@ RTCSctpTransport._t3_expired = _counting_t3_expired def describe(pc) -> str: """The association of `pc` as a log suffix, or nothing when it has none.""" + reported = getattr(pc, "sctp_line", None) + if reported is not None: # held by a connection process (workers.py) + return reported sctp = getattr(pc, "sctp", None) if sctp is None: return "" -- cgit v1.2.3