Revision 30e73f2c
Added by Andreas Kohlbecker almost 9 years ago
src/main/resources/c3p0.properties | ||
---|---|---|
19 | 19 |
|
20 | 20 |
c3p0.idleConnectionTestPeriod = 120 |
21 | 21 |
c3p0.testConnectionOnCheckout = false |
22 |
c3p0.testConnectionOnCheckin = true
|
|
22 |
c3p0.testConnectionOnCheckin = false
|
|
23 | 23 |
c3p0.maxConnectionAge = 600 |
24 | 24 |
c3p0.maxIdleTime = 300 |
25 | 25 |
c3p0.maxIdleTimeExcessConnections = 200 |
26 |
c3p0.minPoolSize = 2
|
|
26 |
c3p0.minPoolSize = 1
|
|
27 | 27 |
|
28 | 28 |
## automatichoweverTestTable: |
29 | 29 |
# If provided, c3p0 will create an |
... | ... | |
37 | 37 |
|
38 | 38 |
# if you do not want c3p0 to register MBeans with your JMX environment, you can suppress JMX support entirely |
39 | 39 |
# for some reason this is required for the cdm-server: |
40 |
c3p0.management.ManagementCoordinator=com.mchange.v2.c3p0.management.NullManagementCoordinator |
|
40 |
#c3p0.management.ManagementCoordinator=com.mchange.v2.c3p0.management.NullManagementCoordinator |
Also available in: Unified diff
further improvement by setting testConnectionOnCheckin = false, minPoolSize = 1 - effect verified by benchmarking on my laptop