mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-02-01 02:26:53 -06:00
add tag colors to seed data and reverse tag order in project cards
- Add color parameter to seed tags (Rust red, Python blue, etc.) - Reverse tag display order in ProjectCard (flex-row-reverse) - Enable release binary stripping in Cargo.toml - Increase Railway health check timeout to 120s - Remove backup favicon/icon files
This commit is contained in:
+2
-1
@@ -36,17 +36,18 @@ pub async fn create_pool(database_url: &str) -> Result<PgPool, sqlx::Error> {
|
||||
return Ok(pool);
|
||||
}
|
||||
Err(e) => {
|
||||
last_error = Some(e);
|
||||
if attempt < max_attempts {
|
||||
tracing::warn!(
|
||||
attempt,
|
||||
max_attempts,
|
||||
delay_secs = delay.as_secs(),
|
||||
error = %e,
|
||||
"Database connection failed, retrying..."
|
||||
);
|
||||
sleep(delay).await;
|
||||
delay = (delay * 2).min(max_delay);
|
||||
}
|
||||
last_error = Some(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user