From c2c49182e6d4f1f1ef3ed3ba5e8699912f9a27bd Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sat, 19 Sep 2026 01:02:05 +0200 Subject: feat(node): per-file upload ceiling is an operator setting, default 8 GB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Was a 4 GB constant in webrtc_server.py, the same on a small board and on a machine holding a library. Now max_upload_gb in node.toml, on the Node page and via `meshbay-node transfers max-size`, read from the transport context per chunk so a change reaches an upload already running. MESHBAY_DESIGN.md §6.4; §15.3 records a defect found beside it. Co-Authored-By: Claude Opus 5 --- man/meshbay-node.1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'man/meshbay-node.1') diff --git a/man/meshbay-node.1 b/man/meshbay-node.1 index 7c7cf96..24ba284 100644 --- a/man/meshbay-node.1 +++ b/man/meshbay-node.1 @@ -372,6 +372,20 @@ Must be a positive integer; zero or negative values are ignored with a warning. . .TP +.B max_upload_gb +The largest single file a member may upload to this node, in GB. It is this +machine's disk that fills, so the ceiling belongs to the operator: lower it on +a small disk, raise it for a library of films. Fractions are accepted +(\fB0.5\fR is 512\ MB). A file past the ceiling is refused at the chunk that +crosses it and its partial file is removed. There is no aggregate quota behind +it. Default: +.BR 8 . +Also settable from the Node page and with +.BR "meshbay\-node transfers max\-size" , +either of which applies it at once and writes it back here. Zero and negative +values are ignored with a warning. +. +.TP .B transcode_incompatible_video When .BR true " (default)," -- cgit v1.2.3