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

Describe configuring concurrency in v4 #492

Closed
gtaylor1981 opened this issue Sep 12, 2023 · 1 comment
Closed

Describe configuring concurrency in v4 #492

gtaylor1981 opened this issue Sep 12, 2023 · 1 comment

Comments

@gtaylor1981
Copy link

Could you please describe how to configure concurrency in v4.0?

I found this when attempting to upgrade from 3.14 to 4.0.
Also, a number of examples in the documentation mentions this configuration feature, however it no longer compiles in v4.0.

e.g. at http://kong.github.io/unirest-java/#configuration

new Config().concurrency(10, 5)

does not compile.

@ryber
Copy link
Collaborator

ryber commented Sep 13, 2023

These settings were a feature of the underlying Apache engine that was used in 3. 4 does not have these settings because Java does not have these settings. There are no plans to add them back in any way. I will remove the documentation

@ryber ryber closed this as completed Sep 13, 2023
ryber added a commit that referenced this issue Sep 13, 2023
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

No branches or pull requests

2 participants