|
@@ -0,0 +1,86 @@
|
|
|
+# This is the main configuration file for the application.
|
|
|
+# ~~~~~
|
|
|
+
|
|
|
+# Secret key
|
|
|
+# ~~~~~
|
|
|
+# The secret key is used to secure cryptographics functions.
|
|
|
+# If you deploy your application to several instances be sure to use the same key!
|
|
|
+application.secret="RItx1I:80?W@]8GAtPDuF8Ydd3mXM85p/<7og]Q;uBOdijQAauRDgu73B6`wQP59"
|
|
|
+
|
|
|
+# The application languages
|
|
|
+# ~~~~~
|
|
|
+application.langs="en"
|
|
|
+
|
|
|
+# Global object class
|
|
|
+# ~~~~~
|
|
|
+# Define the Global object class for this application.
|
|
|
+# Default to Global in the root package.
|
|
|
+# global=Global
|
|
|
+
|
|
|
+# Database configuration
|
|
|
+# ~~~~~
|
|
|
+# 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.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?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true"
|
|
|
+db.default.user=benchmarkdbuser
|
|
|
+db.default.password=benchmarkdbpass
|
|
|
+db.default.jndiName=DefaultDS
|
|
|
+
|
|
|
+# db.default.partitionCount=4
|
|
|
+
|
|
|
+# The number of connections to create per partition. Setting this to
|
|
|
+# 5 with 3 partitions means you will have 15 unique connections to the
|
|
|
+# database. Note that BoneCP will not create all these connections in
|
|
|
+# one go but rather start off with minConnectionsPerPartition and
|
|
|
+# gradually increase connections as required.
|
|
|
+# db.default.maxConnectionsPerPartition=64
|
|
|
+
|
|
|
+# The number of initial connections, per partition.
|
|
|
+# db.default.minConnectionsPerPartition=64
|
|
|
+
|
|
|
+# Evolutions
|
|
|
+# ~~~~~
|
|
|
+# You can disable evolutions if needed
|
|
|
+evolutionplugin=disabled
|
|
|
+
|
|
|
+# Logger
|
|
|
+# ~~~~~
|
|
|
+# You can also configure logback (http://logback.qos.ch/), by providing a logger.xml file in the conf directory .
|
|
|
+
|
|
|
+# Root logger:
|
|
|
+logger.root=ERROR
|
|
|
+
|
|
|
+# Logger used by the framework:
|
|
|
+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
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|