Author: mikedd
Date: Thu Jan 29 20:09:50 2009
New Revision: 738991
URL: http://svn.apache.org/viewvc?rev=738991&view=rev
Log:
OPENJPA-881. 'better' default values for connection pool settings.
Modified:
openjpa/branches/1.3.x/openjpa-persistence-jdbc/pom.xml
Modified: openjpa/branches/1.3.x/openjpa-persistence-jdbc/pom.xml
URL:
http://svn.apache.org/viewvc/openjpa/branches/1.3.x/openjpa-persistence-jdbc/pom.xml?rev=738991&r1=738990&r2=738991&view=diff
==============================================================================
--- openjpa/branches/1.3.x/openjpa-persistence-jdbc/pom.xml (original)
+++ openjpa/branches/1.3.x/openjpa-persistence-jdbc/pom.xml Thu Jan 29 20:09:50
2009
@@ -39,7 +39,11 @@
-Dtest.jvm.arguments="-Xmx500m
-agentlib:jdwp=transport=dt_socket,server=y,address=8000"
-->
<test.jvm.arguments>-Xmx500m</test.jvm.arguments>
- <dbcp.args>MaxActive=100,MaxIdle=0,MaxWait=10000</dbcp.args>
+ <dbcp.maxActive>10</dbcp.maxActive>
+ <dbcp.maxIdle>5</dbcp.maxIdle>
+ <dbcp.minIdle>2</dbcp.minIdle>
+ <dbcp.maxWait>10000</dbcp.maxWait>
+
<dbcp.args>MaxActive=${dbcp.maxActive},MaxIdle=${dbcp.maxIdle},MinIdle=${dbcp.minIdle},MaxWait=${dbcp.maxWait}</dbcp.args>
</properties>
<profiles>