mirror of
https://github.com/wger-project/wger.git
synced 2026-12-03 02:24:36 +01:00
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.
10 lines
163 B
Bash
Executable File
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
|