rabb
This commit is contained in:
2
sd.php
2
sd.php
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user