Refactoring (#149)
* Warning fixes * More warning fixes * Cargo.toml cleanup
This commit was merged in pull request #149.
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ pub mod db {
|
||||
|
||||
pub async fn create_pool() -> Result<sqlx::PgPool, sqlx::Error> {
|
||||
let database_url = icarus_envy::environment::get_db_url().await;
|
||||
println!("Database url: {:?}", database_url);
|
||||
println!("Database url: {database_url}");
|
||||
|
||||
PgPoolOptions::new()
|
||||
.max_connections(connection_settings::MAXCONN)
|
||||
|
||||
Reference in New Issue
Block a user