Revert accidentally removed ResteasyClient configuration in admin
Fixes accidentally removed in PR #2449 ResteasyClient pool size parameter in `org.keycloak.admin.client.Keycloak`.
This commit is contained in:
parent
c1a8e692d0
commit
974c5615af
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public class Keycloak {
|
|||
|
||||
Keycloak(String serverUrl, String realm, String username, String password, String clientId, String clientSecret, String grantType, ResteasyClient resteasyClient) {
|
||||
config = new Config(serverUrl, realm, username, password, clientId, clientSecret, grantType);
|
||||
client = resteasyClient != null ? resteasyClient : new ResteasyClientBuilder().build();
|
||||
client = resteasyClient != null ? resteasyClient : new ResteasyClientBuilder().connectionPoolSize(10).build();
|
||||
|
||||
tokenManager = new TokenManager(config, client);
|
||||
|
||||
|
|
Loading…
Reference in a new issue