From ab4168c675edf3aa44dc1004164ef071b115d754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Houl=C3=A9?= Date: Tue, 26 May 2020 17:51:06 +0200 Subject: [PATCH] Change phrasing of log message regarding connection count --- src/pooled.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pooled.rs b/src/pooled.rs index 3f4a0bea2..484b17329 100644 --- a/src/pooled.rs +++ b/src/pooled.rs @@ -241,11 +241,17 @@ impl Builder { #[cfg(not(feature = "tracing-log"))] { - info!("Starting a {} pool with {} connections.", family, self.connection_limit); + info!( + "Starting a {} pool with up to {} connections.", + family, self.connection_limit + ); } #[cfg(feature = "tracing-log")] { - tracing::info!("Starting a {} pool with {} connections.", family, self.connection_limit); + info!( + "Starting a {} pool with up to {} connections.", + family, self.connection_limit + ); } let inner = Pool::builder()