mirror of
https://github.com/pretix/pretix.git
synced 2026-08-06 10:07:50 +00:00
Fix #899 -- Docker container: Set gunicorn workers to two times the CPU count
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user