diff options
| author | tv <tv@krebsco.de> | 2026-11-01 19:35:20 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-01 19:35:20 +0100 |
| commit | 1f3be9d059876f7f3994056b1ac8ce307628a52a (patch) | |
| tree | 8f1ca7e7d4b5c1b317d6191b44f0c580aa90acbc /src/remake/switch.rs | |
| parent | a9838a756fa7730e887598592a2f1b5b294e68a7 (diff) | |
document: allow writes during rejoin
Diffstat (limited to 'src/remake/switch.rs')
| -rw-r--r-- | src/remake/switch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remake/switch.rs b/src/remake/switch.rs index 7d6611d..4c72b39 100644 --- a/src/remake/switch.rs +++ b/src/remake/switch.rs @@ -306,7 +306,7 @@ pub(super) async fn swap_in<H: Host>( let late_stats = std::sync::Arc::new(std::sync::Mutex::new(ReplayStats::default())); let late_out = std::sync::Arc::clone(&late_stats); let old = host - .switch_epoch(target, true, move |live| { + .switch_epoch(target, move |live| { // Only one worker switches, but be sure the copy still describes the live document. if !crate::document::changes::missing(live, ©_heads).is_empty() { return Err("the document was replaced while preparing the switch".to_owned()); |
