Skip to content

Commit

Permalink
try not reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
brachipa committed Aug 27, 2023
1 parent 7b01424 commit f55a4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigquery/storage/managedwriter/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func (co *connection) lockingAppend(pw *pendingWrite) error {
fmt.Printf("failed to get a conn reconnecting %s\n", err)
if shouldReconnect(err) {
// if we think this connection is unhealthy, force a reconnect on the next send.
//co.reconnect = true
co.reconnect = true
}
return err
}
Expand Down

0 comments on commit f55a4b6

Please sign in to comment.