fix: celery non-beat worker

Fix is the same as for the beat worker.
This commit is contained in:
Régis Behmo 2023-01-12 12:40:04 +01:00
parent 5d8a4e0943
commit 59b2868bdd
2 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ spec:
containers:
- name: cairn-superset-worker
image: {{ CAIRN_SUPERSET_DOCKER_IMAGE }}
args: ["celery", "worker", "--app=superset.tasks.celery_app:app", "-Ofair", "-l", "INFO"]
args: ["celery", "--app=superset.tasks.celery_app:app", "worker", "-Ofair", "-l", "INFO"]
volumeMounts:
- mountPath: /app/superset_config.py
name: config

View File

@ -50,7 +50,7 @@ cairn-superset-worker:
image: {{ CAIRN_SUPERSET_DOCKER_IMAGE }}
volumes:
- ../plugins/cairn/apps/superset/superset_config.py:/app/superset_config.py:ro
command: celery worker --app=superset.tasks.celery_app:app -Ofair -l INFO
command: celery --app=superset.tasks.celery_app:app worker -Ofair -l INFO
restart: unless-stopped
healthcheck:
disable: true