Changeset View
Changeset View
Standalone View
Standalone View
dockerfiles/swh-listers-worker/entrypoint.sh
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | *) | ||||
echo Starting the swh-lister Celery worker for ${SWH_WORKER_INSTANCE} | echo Starting the swh-lister Celery worker for ${SWH_WORKER_INSTANCE} | ||||
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 "lister-${SWH_WORKER_INSTANCE}@%h" | ||||
;; | ;; | ||||
esac | esac |