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