From c830e7816ef7f06efbab54ec1bb8479a5a5fbe67 Mon Sep 17 00:00:00 2001 From: Louis Bergelson Date: Fri, 8 Dec 2023 18:18:23 -0500 Subject: [PATCH] inline --- .../org/broadinstitute/hellbender/utils/gcs/BucketUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/broadinstitute/hellbender/utils/gcs/BucketUtils.java b/src/main/java/org/broadinstitute/hellbender/utils/gcs/BucketUtils.java index d36c36986d0..9eeaffb6223 100644 --- a/src/main/java/org/broadinstitute/hellbender/utils/gcs/BucketUtils.java +++ b/src/main/java/org/broadinstitute/hellbender/utils/gcs/BucketUtils.java @@ -55,7 +55,6 @@ public final class BucketUtils { // slashes omitted since hdfs paths seem to only have 1 slash which would be weirder to include than no slashes public static final String FILE_PREFIX = "file:"; public static final int MAX_TIMEOUT = 120000; - public static final int MAX_ATTEMPTS = 15; private BucketUtils(){} //private so that no one will instantiate this class @@ -461,7 +460,7 @@ private static StorageOptions.Builder setGenerousTimeouts(StorageOptions.Builder .setReadTimeout(MAX_TIMEOUT) .build()) .setRetrySettings(RetrySettings.newBuilder() - .setMaxAttempts(MAX_ATTEMPTS) + .setMaxAttempts(15) .setMaxRetryDelay(Duration.ofMillis(256_000L)) .setTotalTimeout(Duration.ofMillis(4000_000L)) .setInitialRetryDelay(Duration.ofMillis(1000L))