aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-10 17:30:40 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-10 17:30:40 +0200
commitd5442e3a335327b445d27d0f7e8798726ba20973 (patch)
treef83e276a210fe36e1371bcc6a15bf5023c758056 /packages/meshbay-node/tests
parent803e654086ac63e2d01fa4eb9cca50a4ebebcb73 (diff)
downloadmeshbay-d5442e3a335327b445d27d0f7e8798726ba20973.tar.gz
docs(code): drop the references to a plan file that no longer exists
Seven comments pointed at sections of `~/next/improve-downloads.md`, which is not in the tree and not anywhere a reader of this repository can follow. Each now states the thing it was citing: why a paused transfer holds nothing, why the lease is taken after the save target and not before, why a chunk request marks a lease alive, where the leaseless bound's number comes from. The leaseless comment also said "two files at a time" three paragraphs under `MAX_LEASELESS_IN_FLIGHT = 12`, left behind when the bound was raised. A comment that contradicts the constant beside it is worse than no comment: one of them is wrong and the reader cannot tell which. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AsoWC3GmhNdwVFomW3QjH3
Diffstat (limited to 'packages/meshbay-node/tests')
-rw-r--r--packages/meshbay-node/tests/test_leaseless_reads.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/meshbay-node/tests/test_leaseless_reads.py b/packages/meshbay-node/tests/test_leaseless_reads.py
index 64aed3d..6bd7f1f 100644
--- a/packages/meshbay-node/tests/test_leaseless_reads.py
+++ b/packages/meshbay-node/tests/test_leaseless_reads.py
@@ -3,9 +3,9 @@ Browsing is never subject to a transfer slot โ€” and is not unbounded either.
**Operator decision, 2026-09-08:** a member must be able to browse a group that
is at capacity exactly as they browse an idle one. Not the poster grid, not the
-covers, not opening a photo or a PDF to look at it. ยง3.4 of
-~/next/improve-downloads.md satisfies that structurally: a transfer is what the
-transfers widget shows, and nothing else takes a slot.
+covers, not opening a photo or a PDF to look at it. That is met structurally
+rather than by judgement: a transfer is what the transfers widget shows, and
+nothing else takes a slot.
But "not leased" cannot mean "unbounded". With MNP 3.0 making leases
compulsory, a client that simply omits `tr` would otherwise transfer outside