Skip to content

Commit 62ce4a6

Browse files
committed
Disabled automatic retries in case of network errors.
1 parent 9b1cdc2 commit 62ce4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy/src/main/java/ru/qatools/gridrouter/RouteServlet.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,6 @@ protected CloseableHttpClient newHttpClient() {
185185
.setConnectionRequestTimeout(10000)
186186
.setConnectTimeout(10000)
187187
.build()
188-
).setRedirectStrategy(new LaxRedirectStrategy()).build();
188+
).setRedirectStrategy(new LaxRedirectStrategy()).disableAutomaticRetries().build();
189189
}
190190
}

0 commit comments

Comments
 (0)