Skip to content

Commit 1614504

Browse files
committed
cf: switch to backoff delay
1 parent a721a41 commit 1614504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/itzg/helpers/curseforge/CurseForgeInstaller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ private Mono<DownloadOrResolveResult> buildRetryableDownload(InstallContext con
754754
)
755755
// retry the deferred part above if one of the expected failure cases
756756
.retryWhen(
757-
Retry.fixedDelay(BAD_FILE_ATTEMPTS, BAD_FILE_DELAY)
757+
Retry.backoff(BAD_FILE_ATTEMPTS, BAD_FILE_DELAY)
758758
.filter(throwable ->
759759
throwable instanceof FileHashInvalidException ||
760760
throwable instanceof FailedRequestException ||

0 commit comments

Comments
 (0)