Fix #899 -- Docker container: Set gunicorn workers to two times the CPU count

This commit is contained in:
Raphael Michel
2018-05-09 10:57:59 +02:00
parent b7366a8704
commit dfa29950ef
+1 -1
View File
@@ -3,7 +3,7 @@ cd /pretix/src
export DJANGO_SETTINGS_MODULE=production_settings
export DATA_DIR=/data/
export HOME=/pretix
NUM_WORKERS=10
export NUM_WORKERS=$((2 * $(nproc --all)))
if [ ! -d /data/logs ]; then
mkdir /data/logs;