提交 1a74ac01 编写于 作者: weixin_47267244's avatar weixin_47267244

修复消息队列消费进程问题

上级 3ec72a08
......@@ -8,6 +8,7 @@ use Imi\Process\Annotation\Process;
use Imi\Process\BaseProcess;
use Imi\Util\Imi;
use Swoole\Coroutine;
use Swoole\Event;
/**
* 队列消费进程.
......@@ -81,5 +82,6 @@ class QueueConsumerProcess extends BaseProcess
});
$processPool->start();
}
Event::wait();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册