Skip to content

Commit

Permalink
fix: temporarily double idle timeout to workaround a bug in watchdog (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mutianf authored Feb 13, 2024
1 parent cce70cd commit 9452a29
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,12 @@ private static BigtableDataSettings configureReadSettings(
.setRpcTimeoutMultiplier(1)
.setTotalTimeout(Duration.ofMillis(Math.max(initialRpcTimeout, totalTimeout)));

settings.stubSettings().readRowsSettings().setWaitTimeout(Duration.ofMillis(waitTimeout));
settings
.stubSettings()
.readRowsSettings()
.setWaitTimeout(Duration.ofMillis(waitTimeout))
// Temporarily doubles the idle timeout to work around a bug in gax watchdog
.setIdleTimeout(Duration.ofMinutes(10));

settings.stubSettings().readRowsSettings().setRetrySettings(retrySettings.build());

Expand Down

0 comments on commit 9452a29

Please sign in to comment.