Skip to content

Commit

Permalink
fix: re-use current connection info during force refresh (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
enocom authored Aug 16, 2023
1 parent 6eedd2b commit 6dfadff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/alloydb/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6dfadff

Please sign in to comment.