From 6dfadfff1de5c96127a7a55c179f406a4117410a Mon Sep 17 00:00:00 2001 From: Eno Compton Date: Wed, 16 Aug 2023 07:20:25 -0600 Subject: [PATCH] fix: re-use current connection info during force refresh (#356) --- internal/alloydb/instance.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/alloydb/instance.go b/internal/alloydb/instance.go index ac05393c..bb728811 100644 --- a/internal/alloydb/instance.go +++ b/internal/alloydb/instance.go @@ -205,8 +205,6 @@ func (i *Instance) ForceRefresh() { if i.next.cancel() { i.next = i.scheduleRefresh(0) } - // block all sequential connection attempts on the next refresh result - i.cur = i.next } // result returns the most recent refresh result (waiting for it to complete if