How to update a worker without stopping the queue?

For example on the RabbitMQ server is already running, worker. But did update the worker script (change some code).
How to download these updates to not restart all worker, and to work, we downloaded the update, workeri fully completed its work, and then run already worker with the new update?

In General, how to make a seamless update workerb/server queues?
June 7th 19 at 14:32
1 answer
June 7th 19 at 14:34
Nginx in this case launches new children that handle new requests and kills the old as soon as they finish the job.
You can read more? Can references what? - Claude.Schultz commented on June 7th 19 at 14:37
Well, nginx default- master process that creates worker and responds to signals. Receiving a signal to soft-reload, the master spawns a new worker and completes old at the time of completion.
The source code is open... - mona commented on June 7th 19 at 14:40

Find more questions by tags Message queuesRabbitMQ