[Answered ]-Django: Do i have to restart celery beat, celery worker and Django gunicorn when new changes are uploaded to production server

1๐Ÿ‘

โœ…

If you have made changes to any code that in one way or the other affects the celery tasks then yes, you should restart the celery worker. If you are not sure, a safe bet is to restart. And since celery beat tracks the scheduling of periodic tasks you should also restart it if you restart the workers. Of course, you should ensure there are no current tasks running or properly kill them before restarting. You can monitor the tasks using Flower

๐Ÿ‘คKen4scholars

Leave a comment