Skip to content

Commit

Permalink
Increase clan rank timeout further and warn that it can take a while
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyborger1 committed Jun 9, 2021
1 parent 18f3986 commit f9a531a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/botdetector/http/BotDetectorClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9a531a

Please sign in to comment.