From 272edadf519ab793217d78ce9085f776ee26a95b Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Sat, 19 Jun 2021 12:47:35 +0200 Subject: [PATCH] fix(logging): Clearer wording about connection pool size Although the current wording is technically 100% correct, users are sometimes slightly confused and think that the pool is started with all these connections already open. This is of course not the case, so this a bit more defensive wording hopefully avoids that confusion. --- src/pooled.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pooled.rs b/src/pooled.rs index 8e878f511..d354f10b4 100644 --- a/src/pooled.rs +++ b/src/pooled.rs @@ -316,7 +316,7 @@ impl Builder { let pg_bouncer = if info.pg_bouncer() { " in PgBouncer mode" } else { "" }; tracing::info!( - "Starting a {} pool with {} connections{}.", + "Starting a {} pool for maximum {} connections{}.", family, connection_limit, pg_bouncer