|
@@ -22,15 +22,16 @@ application.langs="en"
|
|
|
# You can declare as many datasources as you want.
|
|
|
# By convention, the default datasource is named `default`
|
|
|
#
|
|
|
-# db.default.driver=org.h2.Driver
|
|
|
-# db.default.url="jdbc:h2:mem:play"
|
|
|
-# db.default.user=sa
|
|
|
+#db.default.driver=org.h2.Driver
|
|
|
+#db.default.url="jdbc:h2:mem:play"
|
|
|
+#db.default.user=sa
|
|
|
# db.default.password=
|
|
|
#
|
|
|
# You can expose this datasource via JNDI if needed (Useful for JPA)
|
|
|
# db.default.jndiName=DefaultDS
|
|
|
db.default.driver= com.mysql.jdbc.Driver
|
|
|
db.default.url="jdbc:mysql://localhost:3306/hello_world"
|
|
|
+#db.default.url="jdbc:mysql://192.168.100.101:3306/hello_world"
|
|
|
db.default.user=benchmarkdbuser
|
|
|
db.default.password=benchmarkdbpass
|
|
|
db.default.jndiName=DefaultDS
|
|
@@ -52,13 +53,6 @@ db.default.minConnectionsPerPartition=5
|
|
|
# You can disable evolutions if needed
|
|
|
# evolutionplugin=disabled
|
|
|
|
|
|
-# Ebean configuration
|
|
|
-# ~~~~~
|
|
|
-# You can declare as many Ebean servers as you want.
|
|
|
-# By convention, the default server is named `default`
|
|
|
-#
|
|
|
-ebean.default="models.*"
|
|
|
-
|
|
|
# Logger
|
|
|
# ~~~~~
|
|
|
# You can also configure logback (http://logback.qos.ch/), by providing a logger.xml file in the conf directory .
|
|
@@ -72,3 +66,22 @@ logger.play=ERROR
|
|
|
# Logger provided to your application:
|
|
|
logger.application=ERROR
|
|
|
|
|
|
+play {
|
|
|
+ akka {
|
|
|
+ event-handlers = ["akka.event.slf4j.Slf4jEventHandler"]
|
|
|
+ loglevel = WARNING
|
|
|
+ actor {
|
|
|
+ default-dispatcher = {
|
|
|
+ fork-join-executor {
|
|
|
+ parallelism-factor = 1.0
|
|
|
+ parallelism-max = 50
|
|
|
+ }
|
|
|
+ }
|
|
|
+ application = {
|
|
|
+ fork-join-executor {
|
|
|
+ parallelism-max = 300
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|