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

Support handling threads by OkHttp #450

Merged
merged 1 commit into from
Jul 26, 2018
Merged

Conversation

jianghaolu
Copy link
Contributor

No description provided.

@RikkiGibson
Copy link
Member

Does this make it so threads:connections is no longer a 1:1 ratio?

@jianghaolu
Copy link
Contributor Author

It's still 1:1 - limiting number of connections indirectly through thread pool size.

The PR is to allow using that thread pool in OkHttpClient. Currently the threading is done by RxJava schedulers but people who are doing large-scale sync or simple parallel async can benefit from a hands-off management of threading.

@jianghaolu
Copy link
Contributor Author

OkHttp is always blocking IO in that matter.

jianghaolu added a commit to jianghaolu/azure-libraries-for-java that referenced this pull request Jul 25, 2018
@jianghaolu jianghaolu merged commit 5770750 into Azure:master Jul 26, 2018
jianghaolu added a commit to Azure/azure-libraries-for-java that referenced this pull request Jul 26, 2018
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.

2 participants