Skip to content

Commit 2ab88c3

Browse files
committed
Disabled default connection time out and increased socket timeout to 10s
1 parent 94b0a39 commit 2ab88c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>com.github.freebox</groupId>
77
<artifactId>freebox-java-helper</artifactId>
88
<packaging>jar</packaging>
9-
<version>1.1.14</version>
9+
<version>1.1.15</version>
1010
<name>FreeBox Java Helper</name>
1111

1212
<properties>

src/main/java/com/github/freebox/api/FreeBoxHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,8 @@ private static void _init() {
613613

614614
// Initialize Unirest
615615
Unirest.config()
616-
.socketTimeout(5000)
617-
.connectTimeout(5000)
616+
.socketTimeout(10000)
617+
// .connectTimeout(5000)
618618
.concurrency(10, 5)
619619
.verifySsl(false)
620620
.setDefaultHeader(HttpHeaders.ACCEPT, "application/json");

0 commit comments

Comments
 (0)