From c532f177ad073a4d96d03e93a2b034c830fe623c Mon Sep 17 00:00:00 2001 From: Michael Manganiello Date: Thu, 19 Jun 2025 10:19:40 -0300 Subject: [PATCH] misc: Remove support for deprecated GUNICORN_WORKERS variable The `GUNICORN_WORKERS` environment variable has been deprecated in favor of `WEB_CONCURRENCY`. --- docker/init_scripts/init | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docker/init_scripts/init b/docker/init_scripts/init index 2efa012d0..046205248 100755 --- a/docker/init_scripts/init +++ b/docker/init_scripts/init @@ -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 \