Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
8f2d216a
Commit
8f2d216a
authored
Feb 09, 2018
by
Kevin Jalbert
Committed by
Jeremy Morrell
Feb 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo (WEB_CONCCURENCY -> WEB_CONCURRENCY) (#517)
parent
e5071867
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
WEB_CONCURRENCY.sh
profile/WEB_CONCURRENCY.sh
+1
-1
run
test/run
+3
-3
No files found.
profile/WEB_CONCURRENCY.sh
View file @
8f2d216a
...
@@ -29,7 +29,7 @@ detect_memory() {
...
@@ -29,7 +29,7 @@ detect_memory() {
warn_bad_web_concurrency
()
{
warn_bad_web_concurrency
()
{
local
concurrency
=
$((
MEMORY_AVAILABLE/WEB_MEMORY
))
local
concurrency
=
$((
MEMORY_AVAILABLE/WEB_MEMORY
))
if
[
"
$concurrency
"
-gt
"200"
]
;
then
if
[
"
$concurrency
"
-gt
"200"
]
;
then
echo
"Could not determine a reasonable value for WEB_CONC
CU
RENCY.
echo
"Could not determine a reasonable value for WEB_CONC
UR
RENCY.
This is likely due to running the Heroku NodeJS buildpack on a non-Heroku
This is likely due to running the Heroku NodeJS buildpack on a non-Heroku
platform.
platform.
...
...
test/run
View file @
8f2d216a
...
@@ -398,7 +398,7 @@ testConcurrencyCustomLimit() {
...
@@ -398,7 +398,7 @@ testConcurrencyCustomLimit() {
# This happens on Dokku for example
# This happens on Dokku for example
testConcurrencyTooHigh
()
{
testConcurrencyTooHigh
()
{
LOG_CONCURRENCY
=
true
MEMORY_AVAILABLE
=
10000000000 capture
$(
pwd
)
/profile/WEB_CONCURRENCY.sh
LOG_CONCURRENCY
=
true
MEMORY_AVAILABLE
=
10000000000 capture
$(
pwd
)
/profile/WEB_CONCURRENCY.sh
assertCaptured
"Could not determine a reasonable value for WEB_CONC
CU
RENCY"
assertCaptured
"Could not determine a reasonable value for WEB_CONC
UR
RENCY"
assertCaptured
"Recommending WEB_CONCURRENCY=1"
assertCaptured
"Recommending WEB_CONCURRENCY=1"
assertCapturedSuccess
assertCapturedSuccess
}
}
...
@@ -727,7 +727,7 @@ testMultiExport() {
...
@@ -727,7 +727,7 @@ testMultiExport() {
testCIEnvVars
()
{
testCIEnvVars
()
{
compileTest
"ci-env-test"
compileTest
"ci-env-test"
assertCaptured
"NODE_ENV: test"
assertCaptured
"NODE_ENV: test"
assertCapturedSuccess
assertCapturedSuccess
}
}
testCIEnvVarsOverride
()
{
testCIEnvVarsOverride
()
{
...
@@ -737,7 +737,7 @@ testCIEnvVarsOverride() {
...
@@ -737,7 +737,7 @@ testCIEnvVarsOverride() {
compileTest
"ci-env-test"
"
$(
mktmpdir
)
"
$env_dir
compileTest
"ci-env-test"
"
$(
mktmpdir
)
"
$env_dir
assertCaptured
"NODE_ENV: banana"
assertCaptured
"NODE_ENV: banana"
assertCapturedSuccess
assertCapturedSuccess
}
}
# Utils
# Utils
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment