-
Notifications
You must be signed in to change notification settings - Fork 10
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
HttpClient Socket Exhaustion #8
Comments
HttpClient exhaustion is a real issue that you should examine if you are hitting. It may very well be that our architecture is wrong here; I wrote CustomerIOSharp before I was aware of this issue. But I think you can get away with having your |
Socket Exhaustion can now be avoided using HttpClientFactory, I just needed to make sure I did not miss anything in this implementation. My take on this would be to wire up To conclude, I still think this is a great API and will save anyone a lot of development time! |
I would be happy to accept a pull request for this. It could be interesting to get a separate |
If we go forward with this, I would be more than happy to fork the project and issue a PR! |
Go for it! :) |
A new instance of
HttpClient
is created with everyCustomerIO
instance. I am concerned on HttpClient Socket Exhaustion. Do you have any opinion on this, please?The text was updated successfully, but these errors were encountered: