aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/file.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-12 00:39:25 +0000
committertv <tv@krebsco.de>2026-11-12 02:04:45 +0100
commit8d747b0ba7cd580b85330d6441e40e56e1ff92f8 (patch)
tree4d9e013ce3748d9c7650db5279e542acfdb23b77 /src/document/file.rs
parentef685e386740072768ee142727b86b591d103f0e (diff)
signatures: look for arrived changes only where the document grew
Received signatures of changes the document doesn't hold yet wait for them, up to 65536 (MAX_PENDING). Each Signatures::offer, one per received sync message, looked up every waiting one's change to find those that came meanwhile. The pending signatures now remember the document's heads at the last look (Pending::scanned, Pending::arrived): while they stand, the document holds nothing more, as it only grows, and offer looks up none.
Diffstat (limited to 'src/document/file.rs')
0 files changed, 0 insertions, 0 deletions