application.conf 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # This is the main configuration file for the application.
  2. # ~~~~~
  3. # Secret key
  4. # ~~~~~
  5. # The secret key is used to secure cryptographics functions.
  6. # If you deploy your application to several instances be sure to use the same key!
  7. application.secret="RItx1I:80?W@]8GAtPDuF8Ydd3mXM85p/<7og]Q;uBOdijQAauRDgu73B6`wQP59"
  8. # The application languages
  9. # ~~~~~
  10. application.langs="en"
  11. # Global object class
  12. # ~~~~~
  13. # Define the Global object class for this application.
  14. # Default to Global in the root package.
  15. # global=Global
  16. # Database configuration
  17. # ~~~~~
  18. # You can declare as many datasources as you want.
  19. # By convention, the default datasource is named `default`
  20. #
  21. #db.default.driver=org.h2.Driver
  22. #db.default.url="jdbc:h2:mem:play"
  23. #db.default.user=sa
  24. # db.default.password=
  25. #
  26. # You can expose this datasource via JNDI if needed (Useful for JPA)
  27. # db.default.jndiName=DefaultDS
  28. db.default.driver=com.mysql.jdbc.Driver
  29. 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"
  30. db.default.user=benchmarkdbuser
  31. db.default.password=benchmarkdbpass
  32. db.default.jndiName=DefaultDS
  33. # db.default.partitionCount=4
  34. # The number of connections to create per partition. Setting this to
  35. # 5 with 3 partitions means you will have 15 unique connections to the
  36. # database. Note that BoneCP will not create all these connections in
  37. # one go but rather start off with minConnectionsPerPartition and
  38. # gradually increase connections as required.
  39. # db.default.maxConnectionsPerPartition=64
  40. # The number of initial connections, per partition.
  41. # db.default.minConnectionsPerPartition=64
  42. # Evolutions
  43. # ~~~~~
  44. # You can disable evolutions if needed
  45. evolutionplugin=disabled
  46. # Logger
  47. # ~~~~~
  48. # You can also configure logback (http://logback.qos.ch/), by providing a logger.xml file in the conf directory .
  49. # Root logger:
  50. logger.root=ERROR
  51. # Logger used by the framework:
  52. logger.play=ERROR
  53. # Logger provided to your application:
  54. logger.application=ERROR
  55. iteratee-threadpool-size=300
  56. play {
  57. akka {
  58. event-handlers = ["akka.event.slf4j.Slf4jEventHandler"]
  59. loglevel = ERROR
  60. actor {
  61. default-dispatcher = {
  62. fork-join-executor {
  63. parallelism-factor = 4.0
  64. parallelism-max = 300
  65. }
  66. }
  67. application = {
  68. fork-join-executor {
  69. parallelism-max = 300
  70. }
  71. }
  72. }
  73. }
  74. }