Commit 34cb60e7 authored by Hunter Loftis's avatar Hunter Loftis Committed by GitHub

Merge pull request #308 from heroku/remove-32-concurrency-limit

remove hard max of 32 processes
parents 75ac1923 2cb88f84
......@@ -4,8 +4,6 @@ calculate_concurrency() {
WEB_CONCURRENCY=${WEB_CONCURRENCY-$((MEMORY_AVAILABLE/WEB_MEMORY))}
if (( WEB_CONCURRENCY < 1 )); then
WEB_CONCURRENCY=1
elif (( WEB_CONCURRENCY > 32 )); then
WEB_CONCURRENCY=32
fi
WEB_CONCURRENCY=$WEB_CONCURRENCY
}
......
......@@ -192,13 +192,6 @@ testConcurrencyCustomLimit() {
assertCapturedSuccess
}
testConcurrencySaneMaximum() {
LOG_CONCURRENCY=true MEMORY_AVAILABLE=6144 WEB_MEMORY=32 capture $(pwd)/profile/nodejs.sh
assertCaptured "Detected 6144 MB available memory, 32 MB limit per process (WEB_MEMORY)"
assertCaptured "Recommending WEB_CONCURRENCY=32"
assertCapturedSuccess
}
testInvalidNode() {
compile "invalid-node"
assertCaptured "Downloading and installing node 0.11.333"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment