【发布时间】:2018-07-23 14:30:39
【问题描述】:
我正在使用该命令运行 Laravel 队列:
/usr/bin/php7.2 artisan queue:listen --timeout=0
但该过程一直在 300 秒处停止并出现该错误:
Symfony\\Component\\Process\\Exception\\ProcessTimedOutException(code: 0): The process [...] exceeded the timeout of 300 seconds
我也尝试在作业类中设置超时:
public $timeout = 5000;
有人知道该怎么做吗?此过程用于视频编码,运行时间有点长。
谢谢!
【问题讨论】: