From bd30be178e10260775e055fdad90889887befee0 Mon Sep 17 00:00:00 2001 From: Maddie <52103563+maddie480@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:28:45 +0200 Subject: [PATCH] Temporarily boost the retry count --- .../ovh/maddie480/everest/updatechecker/ConnectionUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ovh/maddie480/everest/updatechecker/ConnectionUtils.java b/src/main/java/ovh/maddie480/everest/updatechecker/ConnectionUtils.java index c27b1c1..05c2373 100755 --- a/src/main/java/ovh/maddie480/everest/updatechecker/ConnectionUtils.java +++ b/src/main/java/ovh/maddie480/everest/updatechecker/ConnectionUtils.java @@ -77,7 +77,7 @@ public static InputStream openStreamWithTimeout(String url) throws IOException { * @throws IOException If the task failed 3 times */ public static T runWithRetry(IOSupplier task) throws IOException { - for (int i = 1; i < 3; i++) { + for (int i = 1; i < 10; i++) { try { return task.get(); } catch (IOException e) {