Laravel Artisan Queues - high cpu usage

后端 未结 3 1939
既然无缘
既然无缘 2020-12-25 15:04

I have set up queues in Laravel for my processing scripts. I am using beanstalkd and supervisord. There are 6 different tubes for different types of processing.

The

3条回答
  •  盖世英雄少女心
    2020-12-25 15:37

    According to this commit, you can now set a new option to queue:listen "--sleep={int}" which will let you fine tune how much time to wait before polling for new jobs.
    Also, default has been set to 3 instead of 1.

提交回复
热议问题