Skip to content

Commit

Permalink
inline
Browse files Browse the repository at this point in the history
  • Loading branch information
lbergelson committed Dec 8, 2023
1 parent 3929bca commit c830e78
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit c830e78

Please sign in to comment.