diff options
Diffstat (limited to 'docs/peers.md')
| -rw-r--r-- | docs/peers.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/peers.md b/docs/peers.md index 7213e70..a6b69b4 100644 --- a/docs/peers.md +++ b/docs/peers.md @@ -162,6 +162,11 @@ reply brings its current peer list (the first one may have listed nobody: a peer only its neighbours, and a new member isn't one until its registration has spread). Every minute without a sync message from the source is logged as a warning. +A sync message of 1 KiB or more goes deflated, if that makes it at least a tenth +smaller: Automerge sends changes as they are stored, and text or JSON in them shrinks to +about half. The receiver inflates it to no more than the largest sync message it +accepts. + A sync message larger than 16 chunks (16 × `--blob-chunk`, 1 MiB by default) isn't sent: it would be all or nothing, sent again whole after a lost copy, and on a slow link may not arrive within the transport's delivery limit (Mycelium's five minutes). The sender takes it back and offers a |
