D
D
difficultnicknameforcommu2018-01-16 15:28:39
Celery
difficultnicknameforcommu, 2018-01-16 15:28:39

How to update celery code?

I have a small flask project that uses background tasks using celery. The tasks themselves can take several hours to complete. Supervisor is used as a daemon for celery.
The problem is that when updating the code on the server, celery executes the old version of the code. It is impossible to restart ( supervisorctl restart ) each time the supervisor, because there are many tasks and they run for quite a long time.
Is it possible to update the code without rebooting the supervisor?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Tallmange, 2018-01-16
@p00h

Of course no. Choose a time when everyone will stand and overload.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question