misc: Remove support for deprecated GUNICORN_WORKERS variable

The `GUNICORN_WORKERS` environment variable has been deprecated in favor
of `WEB_CONCURRENCY`.
This commit is contained in:
Michael Manganiello
2025-06-19 10:19:40 -03:00
parent 63db074c3f
commit c532f177ad

View File

@@ -83,12 +83,6 @@ start_bin_gunicorn() {
# commands to start our main application and store its PID to check for crashes
info_log "Starting backend"
# TODO: Remove support for GUNICORN_WORKERS in future version.
if [[ -n ${GUNICORN_WORKERS-} ]]; then
warn_log "GUNICORN_WORKERS variable is deprecated, use WEB_CONCURRENCY instead"
: "${WEB_CONCURRENCY:=${GUNICORN_WORKERS}}"
fi
gunicorn \
--bind=0.0.0.0:5000 \
--bind=unix:/tmp/gunicorn.sock \