This commit is contained in:
parent
ad08752c8d
commit
499ec44025
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue