Changeset View
Changeset View
Standalone View
Standalone View
dockerfiles/swh-indexer-worker/entrypoint.sh
Show All 23 Lines | |||||
case "$1" in | case "$1" in | ||||
"shell") | "shell") | ||||
exec bash -i | exec bash -i | ||||
;; | ;; | ||||
*) | *) | ||||
echo Starting swh-indexer worker | echo Starting swh-indexer worker | ||||
exec python -m celery worker --app=swh.scheduler.celery_backend.config.app --pool=prefork --events --concurrency=${CONCURRENCY} --maxtasksperchild=${MAX_TASKS_PER_CHILD} -Ofair --loglevel=${LOGLEVEL} --without-gossip --without-mingle --without-heartbeat -n ${SWH_WORKER_INSTANCE}.${HOSTNAME} | exec python -m celery worker \ | ||||
--app=swh.scheduler.celery_backend.config.app \ | |||||
--pool=prefork --events \ | |||||
--concurrency=${CONCURRENCY} \ | |||||
--maxtasksperchild=${MAX_TASKS_PER_CHILD} \ | |||||
-Ofair --loglevel=${LOGLEVEL} --without-gossip \ | |||||
--without-mingle --without-heartbeat \ | |||||
vlorentz: indent | |||||
--hostname "${SWH_WORKER_INSTANCE}.%h" | |||||
;; | ;; | ||||
esac | esac |
indent