Github上的聊天室項(xiàng)目,單純的添加GlobalData組件后,報(bào)如下錯(cuò)誤,我沒有創(chuàng)建GlobalDataClient。
SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3 for detail
找到錯(cuò)誤了。
建議將Github上的GlobalData 加上
// 如果不是在根目錄啟動(dòng),則運(yùn)行runAll方法
if(!defined('GLOBAL_START'))
{
Worker::runAll();
}