think-queue使用问题汇总

分享 未结
0 16
苟哥
苟哥 2025-03-10 15:10

1、执行超时

  [Symfony\Component\Process\Exception\ProcessTimedOutException]
  The process "C:\BtSoft\php\74\php.exe think queue:work redis --once --queue=wxbot --delay=0 --memory
  =128 --sleep=3 --tries=0" exceeded the timeout of 60 seconds.

如果出现类似以下的错误,请尝试以下方案修改:

(1)、启动queue命令中增加--timeout参数,例如可以

php think queue:listen --queue=wxbot --timeout=3600


收藏
回帖
  • 消灭零回复