Skip to content

Commit 7788227

Browse files
fix: set longer polling timeouts for filestore RestoreInstance (#214)
- [ ] 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
1 parent 51a2b33 commit 7788227

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -776,13 +776,13 @@ private static Builder initDefaults(Builder builder) {
776776
.setPollingAlgorithm(
777777
OperationTimedPollAlgorithm.create(
778778
RetrySettings.newBuilder()
779-
.setInitialRetryDelay(Duration.ofMillis(5000L))
779+
.setInitialRetryDelay(Duration.ofMillis(60000L))
780780
.setRetryDelayMultiplier(1.5)
781-
.setMaxRetryDelay(Duration.ofMillis(45000L))
781+
.setMaxRetryDelay(Duration.ofMillis(360000L))
782782
.setInitialRpcTimeout(Duration.ZERO)
783783
.setRpcTimeoutMultiplier(1.0)
784784
.setMaxRpcTimeout(Duration.ZERO)
785-
.setTotalTimeout(Duration.ofMillis(300000L))
785+
.setTotalTimeout(Duration.ofMillis(900000L))
786786
.build()));
787787

788788
builder
@@ -800,13 +800,13 @@ private static Builder initDefaults(Builder builder) {
800800
.setPollingAlgorithm(
801801
OperationTimedPollAlgorithm.create(
802802
RetrySettings.newBuilder()
803-
.setInitialRetryDelay(Duration.ofMillis(5000L))
803+
.setInitialRetryDelay(Duration.ofMillis(60000L))
804804
.setRetryDelayMultiplier(1.5)
805-
.setMaxRetryDelay(Duration.ofMillis(45000L))
805+
.setMaxRetryDelay(Duration.ofMillis(360000L))
806806
.setInitialRpcTimeout(Duration.ZERO)
807807
.setRpcTimeoutMultiplier(1.0)
808808
.setMaxRpcTimeout(Duration.ZERO)
809-
.setTotalTimeout(Duration.ofMillis(300000L))
809+
.setTotalTimeout(Duration.ofMillis(7200000L))
810810
.build()));
811811

812812
builder

0 commit comments

Comments
 (0)