1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-07-30 19:58:30 +00:00

move cork to remove_to_device_events fn

add cork around write-heavy database routine called in loop; cleanup

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-12-06 12:44:10 +00:00
parent 23cf2b2236
commit b77a1eb079
3 changed files with 14 additions and 8 deletions

View file

@ -89,7 +89,7 @@ impl Console {
}
}
#[tracing::instrument(skip_all, name = "console")]
#[tracing::instrument(skip_all, name = "console", level = "trace")]
async fn worker(self: Arc<Self>) {
debug!("session starting");
while self.server.running() {