From 55c35636a2560da964248eb2d279e6f5048cf730 Mon Sep 17 00:00:00 2001 From: Johan Castiblanco Date: Mon, 29 Apr 2024 18:18:16 -0500 Subject: [PATCH] feat: change image CMD to celery v5 compatibility This is a proposal in order to allow ecommerce-worker increase celery to v5.4.7. This upgrade of celery in the following PR: https://github.com/openedx/ecommerce-worker/pull/247 --- .../templates/ecommerce/build/ecommerce-worker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorecommerce/templates/ecommerce/build/ecommerce-worker/Dockerfile b/tutorecommerce/templates/ecommerce/build/ecommerce-worker/Dockerfile index 88ccadef..adef361c 100644 --- a/tutorecommerce/templates/ecommerce/build/ecommerce-worker/Dockerfile +++ b/tutorecommerce/templates/ecommerce/build/ecommerce-worker/Dockerfile @@ -26,4 +26,4 @@ RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install \ RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install -r requirements/production.txt ENV WORKER_CONFIGURATION_MODULE ecommerce_worker.settings.production -CMD celery worker --app=ecommerce_worker.celery_app:app --loglevel=info --maxtasksperchild 100 --queue=fulfillment,email_marketing +CMD celery --app=ecommerce_worker.celery_app:app worker --loglevel=info --max-tasks-per-child 100 --queues=fulfillment,email_marketing