V
V
Vlad Osadchyi2020-05-09 15:45:33
Laravel
Vlad Osadchyi, 2020-05-09 15:45:33

How to properly update the application when the queue handler is running?

There is an application on Laravel 7, following the documentation off, launched the queue handler through the supervisor. What needs to be done after git pull so that fresh code gets into the queue handler?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
U
UksusoFF, 2020-05-09
@VladOsadchyi

https://laravel.com/docs/7.x/queues#queue-workers-...

O
Oleg, 2020-05-09
@mayken

If the settings of the worker have not changed, just restart it. If they have changed, then you need to do a reread, then update and restart.
It's safer to use deployer . All tasks can be automated there.

S
Sergey Vorobyov, 2020-05-10
@alert2006

sudo supervisorctl restart laravel-worker:*

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question