Created
June 22, 2012 16:04
-
-
Save guillaumebort/2973705 to your computer and use it in GitHub Desktop.
Configuration for a blocking Play 2.0 application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: target/start -Dhttp.port=${PORT} -Dconfig.resource=prod.conf ${JAVA_OPTS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include "application.conf" | |
play { | |
akka { | |
actor { | |
deployment { | |
/actions { | |
router = round-robin | |
nr-of-instances = 100 | |
} | |
/promises { | |
router = round-robin | |
nr-of-instances = 100 | |
} | |
} | |
retrieveBodyParserTimeout = 5 seconds | |
actions-dispatcher = { | |
fork-join-executor { | |
parallelism-factor = 100 | |
parallelism-max = 100 | |
} | |
} | |
promises-dispatcher = { | |
fork-join-executor { | |
parallelism-factor = 100 | |
parallelism-max = 100 | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment