Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamza15 committed Jan 28, 2025
1 parent f2c030e commit 875d5ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/pools/smartconnpool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ func (pool *ConnPool[C]) get(ctx context.Context) (*Pooled[C], error) {
conn, err = pool.wait.waitForConn(ctx, nil)
if err != nil {
log.Errorf("===================== ERROR: waitForConn err: %s", err.Error())
log.Errorf("%+v", pool)
return nil, ErrTimeout
}
pool.recordWait(start)
Expand Down

0 comments on commit 875d5ce

Please sign in to comment.