翻译修改为队列

This commit is contained in:
2025-05-28 09:50:54 +08:00
parent d809b9f666
commit 78843cc244
8 changed files with 206 additions and 0 deletions
@@ -0,0 +1,11 @@
<?php
return [
'consumer' => [
'handler' => Webman\RedisQueue\Process\Consumer::class,
'count' => getenv('REDIS_QUEUE_PROCESS_COUNT'), // 可以设置多进程同时消费
'constructor' => [
// 消费者类目录
'consumer_dir' => app_path() . '/queue/redis'
]
]
];