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

Raise default pool size to 500 for Quarkus REST Client to improve performance #46626

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public interface RestClientsConfig {
* <p>
* Can be overwritten by client-specific settings.
*/
@ConfigDocDefault("50")
@ConfigDocDefault("500")
OptionalInt connectionPoolSize();

/**
Expand Down Expand Up @@ -555,7 +555,7 @@ default Optional<String> uriReload() {
/**
* The size of the connection pool for this client.
*/
@ConfigDocDefault("50")
@ConfigDocDefault("500")
OptionalInt connectionPoolSize();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public class ClientImpl implements Client {
private static final Logger log = Logger.getLogger(ClientImpl.class);

private static final int DEFAULT_CONNECT_TIMEOUT = 15000;
private static final int DEFAULT_CONNECTION_POOL_SIZE = 50;
private static final int DEFAULT_CONNECTION_POOL_SIZE = 500;

final ClientContext clientContext;
final boolean closeVertx;
Expand Down