php bin/console messenger:stop-workers

Stop workers after their current message

Usage

messenger:stop-workers

Help

The messenger:stop-workers command sends a signal to stop any messenger:consume processes that are running.

    php bin/console messenger:stop-workers

Each worker command will finish the message they are currently processing
and then exit. Worker commands are *not* automatically restarted: that
should be handled by a process control system.