From 33696fb0026b41facc4bb199b70cbeec918acb60 Mon Sep 17 00:00:00 2001 From: Nedyalko Dyakov <1547186+ndyakov@users.noreply.github.com> Date: Sat, 25 Oct 2025 21:49:41 +0300 Subject: [PATCH] Update internal/pool/conn.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- internal/pool/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }