Files
MrleeAdmin/backend/config/plugin/webman/redis-queue/process.php
T

12 lines
315 B
PHP
Raw Normal View History

2026-08-31 11:33:59 +08:00
<?php
return [
'consumer' => [
'handler' => Webman\RedisQueue\Process\Consumer::class,
'count' => 8, // 可以设置多进程同时消费
'constructor' => [
// 消费者类目录
'consumer_dir' => app_path() . '/queue/redis',
],
]
];