Add MiniSBD env variable

This commit is contained in:
Piero Toffanin 2026-02-02 12:10:13 -05:00
parent ceb23ec095
commit 7fa52aa6c9

View File

@ -48,5 +48,10 @@ else
mkdir -p "$PROMETHEUS_MULTIPROC_DIR"
fi
ARGOS_CHUNK_TYPE=MINISBD ./venv/bin/gunicorn -c scripts/gunicorn_conf.py --workers $LT_THREADS --max-requests 250 --timeout 2400 --bind $BIND_ADDR:$LT_PORT 'wsgi:app()'
# Set ARGOS_CHUNK_TYPE to MINISBD if not already defined
if [[ -z "$ARGOS_CHUNK_TYPE" ]]; then
export ARGOS_CHUNK_TYPE=MINISBD
fi
./venv/bin/gunicorn -c scripts/gunicorn_conf.py --workers $LT_THREADS --max-requests 250 --timeout 2400 --bind $BIND_ADDR:$LT_PORT 'wsgi:app()'