mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
improvement: make better use of sqlite connections
This commit is contained in:
@@ -43,7 +43,7 @@ pub async fn send_state_event_for_key_route(
|
||||
)
|
||||
.await?;
|
||||
|
||||
db.flush().await?;
|
||||
db.flush()?;
|
||||
|
||||
Ok(send_state_event::Response { event_id }.into())
|
||||
}
|
||||
@@ -69,7 +69,7 @@ pub async fn send_state_event_for_empty_key_route(
|
||||
)
|
||||
.await?;
|
||||
|
||||
db.flush().await?;
|
||||
db.flush()?;
|
||||
|
||||
Ok(send_state_event::Response { event_id }.into())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user