init
This commit is contained in:
@@ -133,6 +133,9 @@ impl App {
|
||||
// (Note: join! supporte les handles déjà terminés ou annulés)
|
||||
let _ = tokio::join!(http_handle, udp_handle);
|
||||
|
||||
Database::checkpoint_wal(&self.state.db).await?;
|
||||
Database::close(&self.state.db).await?;
|
||||
|
||||
tracing::info!("Closed the runtime application.");
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user