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

Properly set PoolOptions for REST Client #42823

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Conversation

geoand
Copy link
Contributor

@geoand geoand commented Aug 28, 2024

@quarkus-bot
Copy link

quarkus-bot bot commented Aug 28, 2024

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 45d0d25.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@@ -192,7 +192,7 @@ public Vertx get() {
options.setShared(true);
}

var httpClientBuilder = this.vertx.httpClientBuilder().with(options);
var httpClientBuilder = this.vertx.httpClientBuilder().with(options).with(options.getPoolOptions());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it expected that the nested options are not applied by Vert.x? I would expect all the nested options to be applied when you do with(options)?

Especially since the nested structure is completely hidden from you.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In other words, while I'm all for a quick fix, I wonder if it's not a bug in Vert.x itself?

Copy link
Contributor Author

@geoand geoand Aug 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a totally legitimate quetion which I also asked @cescoffier in chat before applying this.

For now let's get it in and we can figure later out if we need to update Vert.x itself

@geoand geoand merged commit dc07fa6 into quarkusio:main Aug 28, 2024
32 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.16 - main milestone Aug 28, 2024
@gsmet
Copy link
Member

gsmet commented Aug 28, 2024

Yeah I totally agree we should merge and backport it.

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

Successfully merging this pull request may close these issues.

Rest Client (formerly reactive) keep using DEFAULT_MAX_POOL_SIZE
3 participants