Skip to content
Snippets Groups Projects
Commit 325a3165 authored by Jeremy Morrell's avatar Jeremy Morrell Committed by Kenneth Reitz
Browse files

Remove leading zeros from `WEB_CONCURRENCY` (#446)


* Remove leading zeros from `WEB_CONCURRENCY`

* fix DYNO_RAM (from node buildpack)

Signed-off-by: default avatarKenneth Reitz <me@kennethreitz.org>
parent bf378916
No related branches found
No related tags found
No related merge requests found
...@@ -5,25 +5,25 @@ case $(ulimit -u) in ...@@ -5,25 +5,25 @@ case $(ulimit -u) in
# Standard-1X (+Free, +Hobby) Dyno # Standard-1X (+Free, +Hobby) Dyno
256) 256)
export DYNO_RAM=512 export DYNO_RAM=512
export WEB_CONCURRENCY=${WEB_CONCURRENCY:-02} export WEB_CONCURRENCY=${WEB_CONCURRENCY:-2}
;; ;;
# Standard-2X Dyno # Standard-2X Dyno
512) 512)
export DYNO_RAM=1024 export DYNO_RAM=1024
export WEB_CONCURRENCY=${WEB_CONCURRENCY:-04} export WEB_CONCURRENCY=${WEB_CONCURRENCY:-4}
;; ;;
# Performance-M Dyno # Performance-M Dyno
16384) 16384)
export DYNO_RAM=2560 export DYNO_RAM=2560
export WEB_CONCURRENCY=${WEB_CONCURRENCY:-08} export WEB_CONCURRENCY=${WEB_CONCURRENCY:-8}
;; ;;
# Performance-L Dyno # Performance-L Dyno
32768) 32768)
export DYNO_RAM=6656 export DYNO_RAM=14336
export WEB_CONCURRENCY=${WEB_CONCURRENCY:-011} export WEB_CONCURRENCY=${WEB_CONCURRENCY:-11}
;; ;;
esac esac
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment