Skip to content

Commit 875d5ce

Browse files
committed
add logs
1 parent f2c030e commit 875d5ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/pools/smartconnpool/pool.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ func (pool *ConnPool[C]) get(ctx context.Context) (*Pooled[C], error) {
512512
conn, err = pool.wait.waitForConn(ctx, nil)
513513
if err != nil {
514514
log.Errorf("===================== ERROR: waitForConn err: %s", err.Error())
515+
log.Errorf("%+v", pool)
515516
return nil, ErrTimeout
516517
}
517518
pool.recordWait(start)

0 commit comments

Comments
 (0)