Skip to content

DefaultApacheHttpClientBuilder修改为单例模式#310

Merged
binarywang merged 1 commit into
binarywang:developfrom
bysunexus:develop
Aug 10, 2017
Merged

DefaultApacheHttpClientBuilder修改为单例模式#310
binarywang merged 1 commit into
binarywang:developfrom
bysunexus:develop

Conversation

@bysunexus
Copy link
Copy Markdown

DefaultApacheHttpClientBuilder修改为单例模式,避免在默认情况下多service的时候出现内存或线程耗尽的问题

@stephenwang2017
Copy link
Copy Markdown

stephenwang2017 commented Sep 27, 2017

为什么还要自己写一个啊,用apache 的 commons 连接池不就行了?
http://blog.csdn.net/xlxxcc/article/details/52402931
http://commons.apache.org/proper/commons-pool/examples.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants