Skip to content
This repository was archived by the owner on Dec 18, 2023. It is now read-only.

Commit 80b8004

Browse files
committed
Fix Hikari connection pool configuration.
Fixes PMCSD-26.
1 parent e273791 commit 80b8004

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

transmart-api-server/grails-app/conf/application.yml

+3-18
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,13 @@ dataSource:
4747
username: biomart_user
4848
password: biomart_user
4949
dbCreate: none
50-
pooled: true
5150
jmxExport: true
5251
logSql: false
5352
formatql: false
53+
pooled: true
5454
properties:
55-
jmxEnabled: true
56-
initialSize: 5
57-
maxActive: 50
58-
minIdle: 5
59-
maxIdle: 25
60-
maxWait: 10000
61-
maxAge: 600000
62-
timeBetweenEvictionRunsMillis: 5000
63-
minEvictableIdleTimeMillis: 60000
64-
validationQuery: SELECT 1
65-
validationQueryTimeout: 3
66-
validationInterval: 15000
67-
testOnBorrow: true
68-
testWhileIdle: true
69-
testOnReturn: false
70-
jdbcInterceptors: ConnectionState
71-
defaultTransactionIsolation: 2 # TRANSACTION_READ_COMMITTED
55+
minimumIdle: 15
56+
maximumPoolSize: 50
7257

7358
grails:
7459
plugin:

0 commit comments

Comments
 (0)