aboutsummaryrefslogtreecommitdiffstats
path: root/src/remake/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/remake/mod.rs')
-rw-r--r--src/remake/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/remake/mod.rs b/src/remake/mod.rs
index b010fdb..7b98f47 100644
--- a/src/remake/mod.rs
+++ b/src/remake/mod.rs
@@ -222,9 +222,9 @@ impl PeerSummary {
}
}
-/// Largest remake request (bytes). The proposal carries the new document to every
-/// node in one sync message, which Mycelium must deliver within its deadline, so
-/// documents near this size are already a stretch.
+/// Largest remake request (bytes). The coordinator holds the new document in memory
+/// and every member downloads it in chunks before voting (`content`), so documents near
+/// this size cost every node that much memory, and the swarm that many bytes per node.
const REMAKE_REQUEST_LIMIT: usize = 64 * 1024 * 1024;
/// Admin routes. Merged into the authenticated part of the node's router.