提交 01b85e1c authored 作者: blu's avatar blu

init

上级 2eb12b9e
...@@ -129,6 +129,7 @@ private: ...@@ -129,6 +129,7 @@ private:
json jEvt; json jEvt;
jEvt["type"] = EV_MSG_TYPE_CONN_STAT; jEvt["type"] = EV_MSG_TYPE_CONN_STAT;
jEvt["gid"] = selfId; jEvt["gid"] = selfId;
jEvt['ts'] = chrono::duration_cast<chrono::seconds>(chrono::system_clock::now().time_since_epoch()).count();
if(eventConn) { if(eventConn) {
jEvt["event"] = EV_MSG_EVENT_CONN_CONN; jEvt["event"] = EV_MSG_EVENT_CONN_CONN;
} }
...@@ -280,7 +281,6 @@ protected: ...@@ -280,7 +281,6 @@ protected:
// }); // });
// thMon.detach(); // thMon.detach();
//
while (true) { while (true) {
if(checkStop() == true) { if(checkStop() == true) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论