chore: cleanup and addressing clippy lints

This commit is contained in:
realaravinth
2022-05-27 18:37:59 +05:30
parent d7fd23f565
commit 629c841e2d
11 changed files with 14 additions and 45 deletions

View File

@@ -185,7 +185,7 @@ impl Data {
log::info!("Initialized credential manager");
});
let pool = s.database.pool;
let pool = s.database.pool;
let pool_options = PgPoolOptions::new().max_connections(pool);
let connection_options = ConnectionOptions::Fresh(Fresh {
pool_options,