Pārlūkot izejas kodu

Merge pull request #1438 from codylerum/wildfly-8.2

increase mysql connection pool size for wildfly
Brittany Mazza 10 gadi atpakaļ
vecāks
revīzija
6b36995de5

+ 2 - 2
frameworks/Java/wildfly-ee7/server-resources/datasources/mysql-ds.xml

@@ -4,9 +4,9 @@
 		<connection-url>jdbc:mysql://${database.host}:3306/hello_world?jdbcCompliantTruncation=false&amp;elideSetAutoCommits=true&amp;useLocalSessionState=true&amp;cachePrepStmts=true&amp;cacheCallableStmts=true&amp;alwaysSendSetIsolation=false&amp;prepStmtCacheSize=4096&amp;cacheServerConfiguration=true&amp;prepStmtCacheSqlLimit=2048&amp;traceProtocol=false&amp;useServerPrepStmts=true&amp;enableQueryTimeouts=false&amp;useUnbufferedIO=false&amp;useReadAheadInput=false&amp;maintainTimeStats=false&amp;cacheRSMetadata=true</connection-url>
 		<driver>mysql-connector-java-${version.mysql.connector}.jar_com.mysql.jdbc.Driver_5_1</driver>
 		<pool>
-		    <prefill>false</prefill>
+		    <prefill>true</prefill>
 		    <min-pool-size>32</min-pool-size>
-		    <max-pool-size>256</max-pool-size>
+		    <max-pool-size>512</max-pool-size>
 		</pool>
 		<security>
 		    <user-name>benchmarkdbuser</user-name>