Skip to content

Commit

Permalink
🎨 #1534 公众号模块更改http请求默认connectionRequestTimeout参数,以避免高并发场景下出现Connecti…
Browse files Browse the repository at this point in the history
…onPoolTimeoutException异常。
  • Loading branch information
niefy authored and binarywang committed Apr 27, 2020
1 parent 9472dd3 commit 172638b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
public class DefaultApacheHttpClientBuilder implements ApacheHttpClientBuilder {
protected final Logger log = LoggerFactory.getLogger(DefaultApacheHttpClientBuilder.class);
private final AtomicBoolean prepared = new AtomicBoolean(false);
private int connectionRequestTimeout = 3000;
private int connectionRequestTimeout = -1;
private int connectionTimeout = 5000;
private int soTimeout = 5000;
private int idleConnTimeout = 60000;
Expand Down

0 comments on commit 172638b

Please sign in to comment.