From 1f8b660d11533a2ba4d0d77c7f03cd42d65cd1e8 Mon Sep 17 00:00:00 2001 From: Nedyalko Dyakov <1547186+ndyakov@users.noreply.github.com> Date: Tue, 19 Aug 2025 16:22:25 +0300 Subject: [PATCH] Update internal/pool/pool.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- internal/pool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pool/pool.go b/internal/pool/pool.go index da5ca302..337397e0 100644 --- a/internal/pool/pool.go +++ b/internal/pool/pool.go @@ -386,7 +386,7 @@ func (p *ConnPool) getConn(ctx context.Context) (*Conn, error) { attempts := 0 for { if attempts >= getAttempts { - log.Printf("redis: connection pool: failed to get an connection accepted by hook after %d attempts", attempts) + log.Printf("redis: connection pool: failed to get a connection accepted by hook after %d attempts", attempts) break } attempts++