Skip to content
Snippets Groups Projects
Commit c46a779e authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

python webconcurrency script

parent 06a7d9e1
No related branches found
No related tags found
No related merge requests found
case $(ulimit -u) in
# 1X DYNO
256)
export DYNO_RAM=512
export WEB_CONCURRENCY=${WEB_CONCURRENCY:-2}
;;
# 2X DYNO
512)
export DYNO_RAM=1024
export WEB_CONCURRENCY=${WEB_CONCURRENCY:-4}
;;
# PX DYNO
32768)
export DYNO_RAM=8192
export WEB_CONCURRENCY=${WEB_CONCURRENCY:-8}
;;
esac
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