Skip to content

Commit

Permalink
sets timeout settings (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
sotuzun authored Feb 10, 2021
1 parent 2c3aea4 commit 3b43464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/craftgate/net/HttpClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public class HttpClient {
private static final String APPLICATION_JSON = "application/json";
private static final String CONTENT_TYPE = "Content-Type";
private static final String ACCEPT = "Accept";
private static final int CONNECT_TIMEOUT = 15000;
private static final int READ_TIMEOUT = 140000;
private static final int CONNECT_TIMEOUT = 10000;
private static final int READ_TIMEOUT = 150000;
private static final Gson gson = buildGson();

private HttpClient() {
Expand Down

0 comments on commit 3b43464

Please sign in to comment.