Update main.rs

This commit is contained in:
Kuoi 2022-05-28 04:34:15 +01:00 committed by GitHub
parent 92c22848e5
commit 13a724ba4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -267,7 +267,7 @@ async fn main() -> std::io::Result<()> {
let mut cfg = deadpool_postgres::Config::new();
cfg.user = Some("bio".to_string());
cfg.dbname = Some("build".to_string());
cfg.dbname = Some("lilac".to_string());
cfg.host = Some("/run/postgresql".to_string());
cfg.manager = Some(deadpool_postgres::ManagerConfig {
recycling_method: deadpool_postgres::RecyclingMethod::Fast,