Running multiple Laravel queue workers using Supervisor

后端 未结 3 1522
自闭症患者
自闭症患者 2021-01-02 12:28

I using Laravel queues using a database driver and supervisor to keep a queue worker running all the time:

[program:laravel_queue]
command=php artisan queue:         


        
3条回答
  •  醉梦人生
    2021-01-02 12:50

    From Laravel docs you can use numprocs=3 to spawn 3 processes.

    And also specify a queue: command=php artisan queue:listen --queue=myqueue --tries=5

提交回复
热议问题