Skip to content

Commit 1f8b660

Browse files
ndyakovCopilot
andauthored
Update internal/pool/pool.go
Co-authored-by: Copilot <[email protected]>
1 parent fd98a22 commit 1f8b660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/pool/pool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ func (p *ConnPool) getConn(ctx context.Context) (*Conn, error) {
386386
attempts := 0
387387
for {
388388
if attempts >= getAttempts {
389-
log.Printf("redis: connection pool: failed to get an connection accepted by hook after %d attempts", attempts)
389+
log.Printf("redis: connection pool: failed to get a connection accepted by hook after %d attempts", attempts)
390390
break
391391
}
392392
attempts++

0 commit comments

Comments
 (0)