Docker: Change default number of workers to 2 * $(nproc) (#3634)

This commit is contained in:
lujoga
2023-10-09 18:05:21 +02:00
committed by GitHub
parent d4c541b2bc
commit 8343b1256b
+1 -1
View File
@@ -5,7 +5,7 @@ export DATA_DIR=/data/
export HOME=/pretix
AUTOMIGRATE=${AUTOMIGRATE:-yes}
NUM_WORKERS_DEFAULT=$((2 * $(nproc --all)))
NUM_WORKERS_DEFAULT=$((2 * $(nproc)))
export NUM_WORKERS=${NUM_WORKERS:-$NUM_WORKERS_DEFAULT}
if [ ! -d /data/logs ]; then