Skip to content

Commit 42379f6

Browse files
committed
[java] Deactivating automatic retries in the HTTPClient
Helps with #9528
1 parent 858b98d commit 42379f6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

java/src/org/openqa/selenium/remote/http/netty/NettyClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ private static AsyncHttpClient createHttpClient(ClientConfig config) {
8787
.setReadTimeout(toClampedInt(config.readTimeout().toMillis()))
8888
.setFollowRedirect(true)
8989
.setUseProxyProperties(true)
90-
.setUseProxySelector(true);
90+
.setUseProxySelector(true)
91+
.setMaxRequestRetry(0);
9192

9293
return Dsl.asyncHttpClient(builder);
9394
}

0 commit comments

Comments
 (0)