aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-24 10:28:29 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-24 16:45:38 +0200
commit600a6dfe3779b9cd82d4e0cb94c6f6e7df21ab20 (patch)
treeeaf76ab6c507fac18ea384f4ee1f8d68853258b3 /packages/meshbay-node
parent24f8526fe7cba161ddcd587e7fff2efc8478c5ab (diff)
downloadmeshbay-600a6dfe3779b9cd82d4e0cb94c6f6e7df21ab20.tar.gz
docs(node): two stale comments in webrtc_server
The peer-session ceiling no longer quotes the hub's old per-account number, and the note on a single uploads/ directory goes: its constant left with f3fb449, when an upload started landing in the folder it was sent to. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node')
-rw-r--r--packages/meshbay-node/src/meshbay_node/transport/webrtc_server.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/transport/webrtc_server.py b/packages/meshbay-node/src/meshbay_node/transport/webrtc_server.py
index 73fefd8..0657b57 100644
--- a/packages/meshbay-node/src/meshbay_node/transport/webrtc_server.py
+++ b/packages/meshbay-node/src/meshbay_node/transport/webrtc_server.py
@@ -133,8 +133,8 @@ PRE_HANDSHAKE_MAX_MSG = 64 * 1024
# How many peer connections this node holds at once, and how long one may stay
# without completing the MNP handshake. The budget above bounds what *one*
# unauthenticated peer costs; these bound how many there may be and how long
-# each lasts, which is the other half and was missing. The hub caps three
-# offers in flight per account — a limit on each caller, not on this machine —
+# each lasts, which is the other half and was missing. The hub meters offers
+# per account (signaling.py) — a limit on each caller, not on this machine —
# so the cost to an operator grew with the number of people in their groups.
# Sized to be unreachable in ordinary use: a browser holds one connection per
# open group, and a handshake unfinished after a minute is not going to finish.
@@ -144,10 +144,6 @@ UNAUTHENTICATED_SESSION_TIMEOUT = 60 # seconds
# Bundle fetches are served in the pre-proof window (C4). Bounded and audited
# until the native client removes remote keypair bundles entirely.
MAX_PRE_PROOF_FETCHES = 4
-# Everything a member sends lands here: files from the Files panel and
-# attachments from the chat alike. One visible directory the operator can look
-# into, back up or empty — rather than a hidden tree of per-user uuids that
-# nobody could read, or files scattered wherever someone happened to be looking.
# Opt-in, off by default: a per-session heartbeat log (message count, time