Using PostgreSQL instead of Redis #1

Merged
martin merged 9 commits from postgres into master 2025-01-08 14:10:31 +01:00
Showing only changes of commit a4ff1df405 - Show all commits

View file

@ -41,7 +41,7 @@ pub struct GetProgress {
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
let pg_url: String = env::var("POSTGRES") let pg_url: String = env::var("PG_URL")
.ok() .ok()
.and_then(|v| v.parse().ok()) .and_then(|v| v.parse().ok())
.unwrap(); .unwrap();