在本机(mac)上运行正常: 链接配置如下: $worker->onWorkerStart = function () { global $mysql; global $factory; // 获得workerman的event-loop, $loop = Worker::getEventLoop(); // Redis $factory = new Factory($loop); // 连接参数 $mys...
在本机(mac)上运行正常: 链接配置如下: $worker->onWorkerStart = function () { global $mysql; global $factory; // 获得workerman的event-loop, $loop = Worker::getEventLoop(); // Redis $factory = new Fact...