Skip to content

Commit

Permalink
connNew error
Browse files Browse the repository at this point in the history
  • Loading branch information
mhamza15 committed Jan 28, 2025
1 parent 2bbfb11 commit 9accc96
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 @@ -378,6 +378,7 @@ func (pool *ConnPool[C]) put(conn *Pooled[C]) {
var err error
conn, err = pool.connNew(context.Background())
if err != nil {
log.Errorf("======================== connNew ERROR: %s", err)
pool.closedConn()
return
}
Expand Down

0 comments on commit 9accc96

Please sign in to comment.