Skip to content

Commit

Permalink
Log server url
Browse files Browse the repository at this point in the history
  • Loading branch information
madchicken committed Jan 6, 2025
1 parent 2651092 commit 7848015
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/routing/connection_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,12 @@ impl ConnectionRegistry {
if registry.contains_key(server) {
continue;
}
let uri = format!("{}://{}:{}", url.scheme(), server.address, server.port);
debug!("Creating pool for server: {}", uri);
registry.insert(
server.clone(),
create_pool(&Config {
uri: format!("{}://{}:{}", url.scheme(), server.address, server.port),
uri,
..self.config.clone()
})
.await?,
Expand Down

0 comments on commit 7848015

Please sign in to comment.