fix postgres
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2024-12-08 18:33:04 +01:00
parent ad08752c8d
commit 499ec44025
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -25,7 +25,7 @@ impl DatabaseBackend {
postgres = Some(
sqlx::postgres::PgPoolOptions::new()
.max_connections(5)
.connect(&std::env::var("DATABASE_URL").unwrap())
.connect(db_url)
.await
.unwrap(),
);