更新时间:2023-02-19 18:03:29
对不起,刚刚发现我的错误.我正在使用sync
驱动程序,这意味着在创建作业时将执行该作业.我打开/app/config/queue.php
并发现:
Sorry, just found my mistake. I am using sync
driver, which means the job is executed when the job is created. I opened my /app/config/queue.php
and found:
'sync' => array(
'driver' => 'sync',
),
我会尝试使用beanstalkd
.