File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -418,11 +418,11 @@ set_real_ip_from ::/0;
418418 : " ${CELERY_MAIN_OPTIONS:= " --concurrency $WEBLATE_WORKERS " } "
419419 : " ${CELERY_NOTIFY_OPTIONS:= " --concurrency $WEBLATE_WORKERS " } "
420420 : " ${CELERY_TRANSLATE_OPTIONS:= " --concurrency $WEBLATE_WORKERS " } "
421- : " ${CELERY_MEMORY_OPTIONS:= " --concurrency $(( WEBLATE_WORKERS == 1 ? 1 : ( WEBLATE_WORKERS + 1 ) / 2 )) " } "
421+ : " ${CELERY_MEMORY_OPTIONS:= " --concurrency $(( WEBLATE_WORKERS == 1 ? 1 : WEBLATE_WORKERS / 2 )) " } "
422422 : " ${CELERY_BACKUP_OPTIONS:= " --concurrency 1" } "
423423 : " ${CELERY_BEAT_OPTIONS:= " " } "
424424 : " ${CELERY_SINGLE_OPTIONS:= " " } "
425- : " ${WEB_WORKERS:= " $(( WEBLATE_WORKERS <= 3 ? 2 : ( WEBLATE_WORKERS + 1 ) / 2 )) " } "
425+ : " ${WEB_WORKERS:= " $(( WEBLATE_WORKERS <= 3 ? 2 : WEBLATE_WORKERS / 2 )) " } "
426426 : " ${WEB_BLOCKING_THREADS:= " $(( WEBLATE_WORKERS * 2 )) " } "
427427 : " ${GRANIAN_ARGS:= " " } "
428428
You can’t perform that action at this time.
0 commit comments