Skip to content

Commit

Permalink
fix: set longer polling timeouts for filestore RestoreInstance (#214)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 468309184

Source-Link: googleapis/googleapis@260cd02

Source-Link: https://github.com/googleapis/googleapis-gen/commit/221f16a758abdda5642e7aa33b3e76438e198608
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjIxZjE2YTc1OGFiZGRhNTY0MmU3YWEzM2IzZTc2NDM4ZTE5ODYwOCJ9

fix: set longer polling timeouts for filestore UpdateInstance
PiperOrigin-RevId: 466057148

Source-Link: googleapis/googleapis@d89cf3d

Source-Link: https://github.com/googleapis/googleapis-gen/commit/17aa4032d4c934fe5be44f8fe12bb96c8664494d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTdhYTQwMzJkNGM5MzRmZTViZTQ0ZjhmZTEyYmI5NmM4NjY0NDk0ZCJ9
  • Loading branch information
gcf-owl-bot[bot] authored Aug 18, 2022
1 parent 51a2b33 commit 7788227
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -776,13 +776,13 @@ private static Builder initDefaults(Builder builder) {
.setPollingAlgorithm(
OperationTimedPollAlgorithm.create(
RetrySettings.newBuilder()
.setInitialRetryDelay(Duration.ofMillis(5000L))
.setInitialRetryDelay(Duration.ofMillis(60000L))
.setRetryDelayMultiplier(1.5)
.setMaxRetryDelay(Duration.ofMillis(45000L))
.setMaxRetryDelay(Duration.ofMillis(360000L))
.setInitialRpcTimeout(Duration.ZERO)
.setRpcTimeoutMultiplier(1.0)
.setMaxRpcTimeout(Duration.ZERO)
.setTotalTimeout(Duration.ofMillis(300000L))
.setTotalTimeout(Duration.ofMillis(900000L))
.build()));

builder
Expand All @@ -800,13 +800,13 @@ private static Builder initDefaults(Builder builder) {
.setPollingAlgorithm(
OperationTimedPollAlgorithm.create(
RetrySettings.newBuilder()
.setInitialRetryDelay(Duration.ofMillis(5000L))
.setInitialRetryDelay(Duration.ofMillis(60000L))
.setRetryDelayMultiplier(1.5)
.setMaxRetryDelay(Duration.ofMillis(45000L))
.setMaxRetryDelay(Duration.ofMillis(360000L))
.setInitialRpcTimeout(Duration.ZERO)
.setRpcTimeoutMultiplier(1.0)
.setMaxRpcTimeout(Duration.ZERO)
.setTotalTimeout(Duration.ofMillis(300000L))
.setTotalTimeout(Duration.ofMillis(7200000L))
.build()));

builder
Expand Down

0 comments on commit 7788227

Please sign in to comment.