improvement: flush after every request that manipulates the db

This commit is contained in:
Timo Kösters
2020-10-21 21:28:02 +02:00
parent b2a1505535
commit 6dbe195695
30 changed files with 216 additions and 105 deletions

View File

@@ -36,5 +36,7 @@ pub async fn redact_event_route(
&db.account_data,
)?;
db.flush().await?;
Ok(redact_event::Response { event_id }.into())
}