Changeset View
Changeset View
Standalone View
Standalone View
dockerfiles/swh-indexer-worker/entrypoint.sh
Show All 30 Lines | *) | ||||
echo Starting swh-indexer worker | echo Starting swh-indexer worker | ||||
exec python -m celery worker \ | exec python -m celery worker \ | ||||
--app=swh.scheduler.celery_backend.config.app \ | --app=swh.scheduler.celery_backend.config.app \ | ||||
--pool=prefork --events \ | --pool=prefork --events \ | ||||
--concurrency=${CONCURRENCY} \ | --concurrency=${CONCURRENCY} \ | ||||
--maxtasksperchild=${MAX_TASKS_PER_CHILD} \ | --maxtasksperchild=${MAX_TASKS_PER_CHILD} \ | ||||
-Ofair --loglevel=${LOGLEVEL} --without-gossip \ | -Ofair --loglevel=${LOGLEVEL} --without-gossip \ | ||||
--without-mingle --without-heartbeat \ | --without-mingle --without-heartbeat \ | ||||
--hostname "${SWH_WORKER_INSTANCE}.%h" | --hostname "${SWH_WORKER_INSTANCE}@%h" | ||||
;; | ;; | ||||
esac | esac |