-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
@yunwuxin
不知道下面自己的理解对不对,能否解答下
worker_num // 消费进程数
delay // ?
sleep // 消费进程间隔时间
tries // 单个任务最大执行次数,0为不限制
timeout // 单个任务的最大执行时间
//队列
'queue' => [
'enable' => true,
'workers' => [
// 默认队列
'default' => [
// 消费进程
'worker_num' => 1,
'delay' => 0,
// 消费进程间隔时间
'sleep' => 3,
// 单个任务最大执行次数,0为不限制
'tries' => 0,
// 单个任务的最大执行时间
'timeout' => 60,
],
],
],
Metadata
Metadata
Assignees
Labels
No labels