Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DefaultApacheHttpClientBuilder修改为单例模式 #310

Merged
merged 1 commit into from
Aug 10, 2017

Conversation

bysunexus
Copy link

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

@stephenwang2017
Copy link

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