Skip to content

Commit

Permalink
feat: change image CMD to celery v5 compatibility
Browse files Browse the repository at this point in the history
This is a proposal in order to allow ecommerce-worker increase celery to v5.4.7.

This upgrade of celery in the following PR: openedx-unsupported/ecommerce-worker#247
  • Loading branch information
johanseto committed Apr 29, 2024
1 parent f145bab commit 55c3563
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 55c3563

Please sign in to comment.