diff --git a/pom.xml b/pom.xml index 002c2d97..4e4a0528 100644 --- a/pom.xml +++ b/pom.xml @@ -140,7 +140,7 @@ io.github.resilience4j resilience4j-retry - 1.6.1 + 1.7.0 io.vavr diff --git a/src/main/java/org/simplify4u/plugins/keyserver/PGPKeysServerClient.java b/src/main/java/org/simplify4u/plugins/keyserver/PGPKeysServerClient.java index d24b40f1..2a407a43 100644 --- a/src/main/java/org/simplify4u/plugins/keyserver/PGPKeysServerClient.java +++ b/src/main/java/org/simplify4u/plugins/keyserver/PGPKeysServerClient.java @@ -221,7 +221,6 @@ void copyKeyToOutputStream(PGPKeyId keyId, OutputStream outputStream, OnRetryCon RetryConfig config = RetryConfig.custom() .maxAttempts(maxAttempts) - .waitDuration(Duration.ofMillis(500)) .intervalFunction(IntervalFunction.ofExponentialBackoff()) .retryOnException(PGPKeysServerClient::shouldRetryOnException) .build();