WIP
This commit is contained in:
1 parent
ab6b0322c9
commit
e4f8ad1e91
25 files changed
+520
-289
No files matched your search
@@ -65,7 +65,7 @@ pub async fn delay_io_medium() {
|
||||
}
|
||||
|
||||
pub async fn create_connection(db_config: &Database) -> Result<(PgClient, JoinHandle<Result<(), Error>>), Error> {
|
||||
warn!("create_connection\n\n CREATING POSTGRES CONNECTION\n\n");
|
||||
warn!("create_connection creating postgres connection");
|
||||
// TODO use a common already running worker pool for these queries:
|
||||
let d = db_config;
|
||||
let uri = format!("postgresql://{}:{}@{}:{}/{}", d.user, d.pass, d.host, d.port, d.name);
|
||||
|
||||
Reference in new issue
Block a user