From 64f20e6dd19dd0c713aa7af5da390f8beb8de13c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 10 Mar 2022 22:16:33 +0000 Subject: [PATCH] feat: set longer polling timeouts for filestore CreateInstance (#162) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 433266104 Source-Link: https://github.com/googleapis/googleapis/commit/252235134ca4bd27a575dc8ea330460a7790921d Source-Link: https://github.com/googleapis/googleapis-gen/commit/26857707c37e6c56ae9b19a8800a5f8277092f0c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjY4NTc3MDdjMzdlNmM1NmFlOWIxOWE4ODAwYTVmODI3NzA5MmYwYyJ9 --- .../v1beta1/stub/CloudFilestoreManagerStubSettings.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java b/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java index 1902e320..f2cc0074 100644 --- a/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java +++ b/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java @@ -704,13 +704,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