This commit is contained in:
ASUS 2025-10-27 16:51:39 +08:00
parent 190b0323db
commit af22512f0c
1 changed files with 1 additions and 1 deletions

2
sd.php
View File

@ -9,7 +9,7 @@ use Workerman\RabbitMQ\Client;
require_once __DIR__ . '/vendor/autoload.php';
$worker = new Worker();
$worker->eventLoop = \Workerman\Events\Fiber::class;
$worker->eventLoop = \Workerman\Events\Swoole::class;
$worker->onWorkerStart = function() {
// Create RabbitMQ Client