aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/file-utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/file-utils.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/file-utils.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/file-utils.js b/packages/meshbay-hub/src/meshbay_hub/static/file-utils.js
index 99d9f9a..b732734 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/file-utils.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/file-utils.js
@@ -451,9 +451,9 @@ async function downloadEntry(transfers, transport, gek, entry) {
},
// After the target, never before: a granted slot has to be taken up within
- // the node's deadline, and opening a target can outlast it. See §8.1 of
- // ~/next/improve-downloads.md — the other order was tried and cost two of
- // three downloads.
+ // the node's deadline, and opening a target can outlast it — a Save As
+ // dialog waits for a person. Asking for the slot first loses it to the
+ // grant deadline while the dialog is open.
makeLease: () => transport.openTransfer({
kind: 'download', bytes: entry.size, chunks: totalChunks }),