2026-01-05 14:33:21 +08:00
|
|
|
<?php
|
|
|
|
|
return [
|
2026-01-05 16:39:08 +08:00
|
|
|
// 'consumer' => [
|
|
|
|
|
// 'handler' => Webman\RedisQueue\Process\Consumer::class,
|
|
|
|
|
// 'count' => getenv('REDIS_QUEUE_PROCESS_COUNT'), // 可以设置多进程同时消费
|
|
|
|
|
// 'constructor' => [
|
|
|
|
|
// // 消费者类目录
|
|
|
|
|
// 'consumer_dir' => app_path() . '/queue/redis',
|
|
|
|
|
// 'consumer_dir' => app_path() . getenv('REDIS_QUEUE_CONSUMER_DIR')
|
|
|
|
|
// ]
|
|
|
|
|
// ]
|
2026-01-05 14:33:21 +08:00
|
|
|
];
|