application.conf 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # This is the main configuration file for the application.
  2. # ~~~~~
  3. # The max size of the queue for running db operations
  4. #max-db-ops = 1024
  5. # Secret key
  6. # ~~~~~
  7. # The secret key is used to secure cryptographics functions.
  8. # If you deploy your application to several instances be sure to use the same key!
  9. application.secret="RItx1I:80?W@]8GAtPDuF8Ydd3mXM85p/<7og]Q;uBOdijQAauRDgu73B6`wQP59"
  10. # The application languages
  11. # ~~~~~
  12. application.langs="en"
  13. # Global object class
  14. # ~~~~~
  15. # Define the Global object class for this application.
  16. # Default to Global in the root package.
  17. # global=Global
  18. # Database configuration
  19. # ~~~~~
  20. slick.dbs.hello_world.driver="slick.driver.MySQLDriver$"
  21. slick.dbs.hello_world.db.driver="com.mysql.jdbc.Driver"
  22. slick.dbs.hello_world.db.url="jdbc:mysql://127.0.0.1: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"
  23. slick.dbs.hello_world.db.user="benchmarkdbuser"
  24. slick.dbs.hello_world.db.password="benchmarkdbpass"
  25. slick.dbs.hello_world.db.connectionPool = HikariCP
  26. slick.dbs.hello_world.db.keepAliveConnection = true
  27. #slick.dbs.hello_world.db.connectionTestQuery="select 1"
  28. # Evolutions
  29. # ~~~~~
  30. # You can disable evolutions if needed
  31. evolutionplugin=disabled
  32. play {
  33. akka {
  34. event-handlers = ["akka.event.slf4j.Slf4jEventHandler"]
  35. loglevel = WARNING
  36. actor {
  37. default-dispatcher = {
  38. fork-join-executor {
  39. parallelism-factor = 1.0
  40. parallelism-max = 50
  41. }
  42. }
  43. application = {
  44. fork-join-executor {
  45. parallelism-max = 300
  46. }
  47. }
  48. }
  49. }
  50. }