diff --git a/internal/pool/conn.go b/internal/pool/conn.go index 4c3d36fd..4d38184a 100644 --- a/internal/pool/conn.go +++ b/internal/pool/conn.go @@ -234,7 +234,7 @@ func (cn *Conn) SetUsable(usable bool) { // This is a backward-compatible wrapper around the state machine. func (cn *Conn) IsInited() bool { state := cn.stateMachine.GetState() - // Connection is initialized if it's in READY or any post-initialization state + // Connection is initialized if it's in IDLE or any post-initialization state return state != StateCreated && state != StateInitializing && state != StateClosed }