Skip to content

Commit b118a29

Browse files
committed
fix: drop legacy UwSGI_WORKERS alias
It can cause more harm now because it used to control single threaded processes and now there are 16 threads. This can easily lead to consuming database connections.
1 parent 45060e5 commit b118a29

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

start

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,11 +308,6 @@ set_real_ip_from 0.0.0.0/0;
308308
: "${CELERY_BEAT_OPTIONS:=""}"
309309
: "${CELERY_SINGLE_OPTIONS:="--concurrency $WEBLATE_WORKERS"}"
310310
: "${WEB_WORKERS:="$((WEBLATE_WORKERS <= 3 ? 2 : WEBLATE_WORKERS / 2))"}"
311-
# This is for legacy configurations, should be removed in the future
312-
if [ -n "$UWSGI_WORKERS" ]; then
313-
echo "Configuration using UWSGI_WORKERS is deprecated, please use WEB_WORKERS instead!"
314-
WEB_WORKERS="$UWSGI_WORKERS"
315-
fi
316311

317312
export CELERY_MAIN_OPTIONS
318313
export CELERY_NOTIFY_OPTIONS

0 commit comments

Comments
 (0)