mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2026-02-06 11:03:39 -05:00
Add MiniSBD env variable
This commit is contained in:
parent
ceb23ec095
commit
7fa52aa6c9
@ -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()'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user