From f9a531a04e4f80a9d4e02af53ada0b4d9ce51b4d Mon Sep 17 00:00:00 2001 From: Cyborger1 <45152844+Cyborger1@users.noreply.github.com> Date: Wed, 9 Jun 2021 15:46:29 -0400 Subject: [PATCH] Increase clan rank timeout further and warn that it can take a while --- src/main/java/com/botdetector/http/BotDetectorClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/botdetector/http/BotDetectorClient.java b/src/main/java/com/botdetector/http/BotDetectorClient.java index d353acd6..d53b0832 100644 --- a/src/main/java/com/botdetector/http/BotDetectorClient.java +++ b/src/main/java/com/botdetector/http/BotDetectorClient.java @@ -109,10 +109,10 @@ private enum ApiPath .build(); /** - * Same as {@link #okHttpClient}, but with a read timeout of 60 seconds. + * Same as {@link #okHttpClient}, but with a read timeout of 120 seconds. */ public static OkHttpClient longTimeoutHttpClient = okHttpClient.newBuilder() - .readTimeout(60, TimeUnit.SECONDS) + .readTimeout(120, TimeUnit.SECONDS) .build(); @Inject