Files
wger/extras/docker/production/celery/start-worker
Roland Geider e692ec124d Refactor the celery ingredient task
This now processes api pages in chunks, allowing for a more robust behaviour (auto retry,
retry backoff, etc.) in case of e.g. network errors. This also allows to resume the task
without having to download all pages again.
2025-11-20 22:11:56 +01:00

10 lines
163 B
Bash
Executable File

#!/bin/bash
set -o errexit
set -o nounset
celery --app wger worker \
--pool=gevent \
--concurrency=${CELERY_WORKER_CONCURRENCY:-1} \
--loglevel INFO