Skip to content

Weblate App

Celery Worker Options

Weblate has a few celery worker for background processing. Depending on the allocated resources and available CPUs it may be required to adjust the worker options. Those can be set by editing the file at /app/data/.celery.env:

The default file contains one env variable per worker:

export CELERY_MAIN_OPTIONS=""
export CELERY_NOTIFY_OPTIONS=""
export CELERY_TRANSLATE_OPTIONS=""
export CELERY_BACKUP_OPTIONS=""
export CELERY_BEAT_OPTIONS=""

To set for example the concurrency for one worker, adjust the corresponding line like:

export CELERY_MAIN_OPTIONS="--concurrency 16"

Then restart the app. If the app does not start up again, take a look at the logs to see if an option may not be accepted for a worker.