Fueled / django-init

Project template used at Fueled for scaffolding new Django based projects. :dizzy:
Other
189 stars 46 forks source link

fix(Makefile): update deprecated celery command #437

Closed GeekyShacklebolt closed 3 years ago

GeekyShacklebolt commented 3 years ago

Why was this change necessary?

In the Makefile celery was running with "celery worker -A celeryapp <...>" that is using -A as an option of the worker sub-command. The support for this usage was removed in Celery 5.0.

How does it address the problem?

The updated usage is to use -A as a global option: "celery -A celeryapp worker <...>"

Are there any side effects?

No

References

For Celery v5.1.2:

theskumar commented 3 years ago

Thank you @GeekyShacklebolt !