From 28172cc1d5ebb69148e30f63dca94d1f8dd321db Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Thu, 11 Aug 2022 22:47:22 -0700 Subject: [PATCH] Fix debug log --- src/pool.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pool.rs b/src/pool.rs index fcb6f85..76445c8 100644 --- a/src/pool.rs +++ b/src/pool.rs @@ -337,7 +337,8 @@ impl ConnectionPool { return Ok((conn, address.clone())); } - debug!("Running health check for replica {}, {:?}", index, address); + debug!("Running health check on server {:?}", address); + self.stats.server_tested(server.process_id(), address.id); match tokio::time::timeout(