11 lines
306 B
PHP
11 lines
306 B
PHP
<?php
|
|
return [
|
|
'consumer' => [
|
|
'handler' => Webman\RedisQueue\Process\Consumer::class,
|
|
'count' => 8, // 可以设置多进程同时消费
|
|
'constructor' => [
|
|
// 消费者类目录
|
|
'consumer_dir' => app_path() . '/queue/redis'
|
|
]
|
|
]
|
|
]; |