Remove expected FS events

This commit is contained in:
Andras Schmelczer 2026-05-12 22:18:10 +01:00
parent cd08cd80c7
commit 935ed9c8e7
13 changed files with 129 additions and 243 deletions

View file

@ -244,7 +244,8 @@ pub async fn update_document(
let content_clone = content.clone();
let merged = tokio::task::spawn_blocking(move || {
let merged = reconcile(
reconcile(
&parent_owned,
&latest_owned.into(),
&new_owned.into(),
@ -252,8 +253,7 @@ pub async fn update_document(
)
.apply()
.text()
.into_bytes();
merged
.into_bytes()
})
.await
.map_err(|e| server_error(anyhow::anyhow!("Reconcile task failed: {e}")))?;