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 | 53eee8aa5a226d80af863895fef0bdc3daf7b627 (patch) | |
| tree | 9066ce10cbde662f29263ca12397f6d61e7fbad4 /src/remake/switch.rs | |
| parent | 266c0f57612e1930fe5d05768a18d87d4fe53977 (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()); |
