Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit 737bd0e

Browse files
authored
fix: rollback the reconnect after 10MB behavior after the fix for omg… (#1530)
* fix: rollback the reconnect after 10MB behavior after the fix for omg is deployed * .
1 parent 74a67f7 commit 737bd0e

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/JsonStreamWriter.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,15 +405,16 @@ public Builder setIgnoreUnknownFields(boolean ignoreUnknownFields) {
405405
}
406406

407407
/**
408-
* Setter for a reconnectAfter10M, temporaily workaround for omg/48020. Fix for the omg is
409-
* supposed to roll out by 2/11/2022 Friday. If you set this to True, your write will be slower
410-
* (0.75MB/s per connection), but your writes will not be stuck as a sympton of omg/48020.
408+
* @Deprecated Setter for a reconnectAfter10M, temporaily workaround for omg/48020. Fix for the
409+
* omg is supposed to roll out by 2/11/2022 Friday. If you set this to True, your write will be
410+
* slower (0.75MB/s per connection), but your writes will not be stuck as a sympton of
411+
* omg/48020.
411412
*
412413
* @param reconnectAfter10M
413414
* @return Builder
414415
*/
415416
public Builder setReconnectAfter10M(boolean reconnectAfter10M) {
416-
this.reconnectAfter10M = reconnectAfter10M;
417+
this.reconnectAfter10M = false;
417418
return this;
418419
}
419420

0 commit comments

Comments
 (0)