GlobalData加入聊天室项目后报错

Nathan

Github上的聊天室项目,单纯的添加GlobalData组件后,报如下错误,我没有创建GlobalDataClient。

SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3 for detail

2770 1 0
1个回答

Nathan

找到错误了。

建议将Github上的GlobalData 加上

// 如果不是在根目录启动,则运行runAll方法
if(!defined('GLOBAL_START'))
{
Worker::runAll();
}

  • 暂无评论
年代过于久远,无法发表回答
🔝