refactor: Workerman 消费改用 Laravel Queue Worker,database/redis 统一支持(实测 redis 消费通过);默认消费 default,ai 队列;WORKERMAN_QUEUES/MAX_TRIES/TIMEOUT 配置;2 个队列消费测试

This commit is contained in:
ak
2026-08-11 19:27:43 +08:00
parent 34ea046906
commit 1c8a801238
16 changed files with 164 additions and 54 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace Tests\Fixtures;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Support\Facades\Log;
class PingJob implements ShouldQueue
{
use Queueable;
public function handle(): void
{
Log::info('WM_PING_CONSUMED');
}
}