From d07adff871d937518bcf5252e606ff81e8c86bf3 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Sun, 20 Nov 2022 23:20:19 +0000 Subject: [PATCH] feat: [file] add polling timeouts config for RevertInstance operation (#8826) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 489758239 Source-Link: https://togithub.com/googleapis/googleapis/commit/9de27c9c549173eac194ec80153963234a05a8b5 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/bc6f9be813dca095c8867b4bb2e8eb736e9c0f91 Copy-Tag: eyJwIjoiamF2YS1maWxlc3RvcmUvLk93bEJvdC55YW1sIiwiaCI6ImJjNmY5YmU4MTNkY2EwOTVjODg2N2I0YmIyZThlYjczNmU5YzBmOTEifQ== --- .../v1beta1/stub/CloudFilestoreManagerStubSettings.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java b/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java index 807cd2f25e36..277d89a68f42 100644 --- a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java +++ b/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/CloudFilestoreManagerStubSettings.java @@ -1244,13 +1244,13 @@ private static Builder initDefaults(Builder builder) { .setPollingAlgorithm( OperationTimedPollAlgorithm.create( RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setInitialRetryDelay(Duration.ofMillis(30000L)) .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setMaxRetryDelay(Duration.ofMillis(60000L)) .setInitialRpcTimeout(Duration.ZERO) .setRpcTimeoutMultiplier(1.0) .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) + .setTotalTimeout(Duration.ofMillis(7200000L)) .build())); builder