Skip to content

Commit 6dfadff

Browse files
authored
fix: re-use current connection info during force refresh (#356)
1 parent 6eedd2b commit 6dfadff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/alloydb/instance.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,6 @@ func (i *Instance) ForceRefresh() {
205205
if i.next.cancel() {
206206
i.next = i.scheduleRefresh(0)
207207
}
208-
// block all sequential connection attempts on the next refresh result
209-
i.cur = i.next
210208
}
211209

212210
// result returns the most recent refresh result (waiting for it to complete if

0 commit comments

Comments
 (0)