Migrated db connections to pool

This commit is contained in:
rzuasti
2026-02-17 15:20:47 -05:00
parent f1093078bd
commit 08465fb847
6 changed files with 369 additions and 58 deletions
+3
View File
@@ -31,6 +31,9 @@ async fn main() -> Result<(), String> {
// Now onto the important stuff
info!("Starting up oott");
// Initialize database
db::init_db().await?;
// Start the device scanner and web server (for API and UI) in parallel
tokio::join!(scanner::scan(), web_server::serve()).0
}