dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #06621
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1837: Added default pool configuration (https://bugs.launchpad.net/dhis2/+bug/603641)
------------------------------------------------------------
revno: 1837
committer: Bob Jolliffe bobjolliffe@xxxxxxxxx
branch nick: trunk
timestamp: Sat 2010-07-10 17:26:48 +0100
message:
Added default pool configuration (https://bugs.launchpad.net/dhis2/+bug/603641)
added:
dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/c3p0-config.xml
modified:
dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hibernate-default.properties
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== added file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/c3p0-config.xml'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/c3p0-config.xml 1970-01-01 00:00:00 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/c3p0-config.xml 2010-07-10 16:26:48 +0000
@@ -0,0 +1,8 @@
+<c3p0-config>
+ <default-config>
+ <property name="initialPoolSize">1</property>
+ <property name="maxIdleTime">60</property>
+ <property name="maxPoolSize">20</property>
+ <property name="minPoolSize">1</property>
+ </default-config>
+ </c3p0-config>
=== modified file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hibernate-default.properties'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hibernate-default.properties 2010-05-05 07:39:49 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hibernate-default.properties 2010-07-10 16:26:48 +0000
@@ -17,12 +17,13 @@
hibernate.connection.password =
hibernate.hbm2ddl.auto = create-drop
-hibernate.c3p0.min_size = 3
-hibernate.c3p0.max_size = 20
-hibernate.c3p0.acquire_increment = 2
-hibernate.c3p0.timeout = 5000
-hibernate.c3p0.max_statements = 50
-hibernate.c3p0.idle_test_period = 300
+# see c3p0-config.xml
+#hibernate.c3p0.min_size = 3
+#hibernate.c3p0.max_size = 20
+#hibernate.c3p0.acquire_increment = 2
+#hibernate.c3p0.timeout = 5000
+#hibernate.c3p0.max_statements = 50
+#hibernate.c3p0.idle_test_period = 300
# Caching