feat(server): configurable DB pool size via --db-max-connections/DB_MAX_CONNECTIONS (#2)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 21:46:41 +02:00
parent 7e235ffd3e
commit 7181437625
4 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ use tokio::net::TcpListener;
async fn serves_health_live_over_tcp() {
let database_url =
std::env::var("DATABASE_URL").expect("DATABASE_URL must be set for this test");
let db = Db::connect(&database_url)
let db = Db::connect(&database_url, 2)
.await
.expect("connect to database");
let state = AppState {