From bb96725d3b22d09e6ea79685d9d09743e8ee9c1a Mon Sep 17 00:00:00 2001 From: Pulasthi Mahawithana Date: Wed, 7 Oct 2020 16:36:59 +0530 Subject: [PATCH] Add default DB pool options for identity DB --- ...rg.wso2.carbon.identity.core.server.feature.default.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json index 668114762b7f..ff1183bee3f5 100644 --- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json +++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json @@ -4,6 +4,12 @@ "identity.data_source": "jdbc/WSO2IdentityDB", "identity_data_source.skip_db_schema_creation": false, + "database.identity_db.pool_options.maxActive": "50", + "database.identity_db.pool_options.maxWait": "60000", + "database.identity_db.pool_options.testOnBorrow": "true", + "database.identity_db.pool_options.validationInterval": "30000", + "database.identity_db.pool_options.defaultAutoCommit": "true", + "database.identity_db.jmx_enable": "false", "server.clock_skew": "5m", "session_data.persistence.enable_persistence": true, "session_data.persistence.persistence_pool_size": "0",