mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 14:26:37 -06:00
fix: increase DB acquire timeout, add page padding, fix modal scaling on mobile
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ pub async fn create_pool(database_url: &str) -> Result<PgPool, sqlx::Error> {
|
||||
|
||||
let pool_options = PgPoolOptions::new()
|
||||
.max_connections(20)
|
||||
.acquire_timeout(Duration::from_secs(3));
|
||||
.acquire_timeout(Duration::from_secs(10));
|
||||
|
||||
let mut last_error = None;
|
||||
let mut delay = initial_delay;
|
||||
|
||||
Reference in New Issue
Block a user