Adpater未连接时请求超时统计

This commit is contained in:
wuxiaofeng1 2023-03-08 14:44:49 +08:00 committed by ruanshudong
parent af41549b63
commit bbe557ea74
2 changed files with 10 additions and 5 deletions

View File

@ -237,6 +237,11 @@ void ObjectProxy::doInvokeException(ReqMessage * msg)
//标识请求异常
msg->eStatus = ReqMessage::REQ_EXC;
if (!msg->adapter)
{
msg->adapter->stat(msg);
}
if(msg->eType == ReqMessage::SYNC_CALL)
{
if(!msg->sched)

View File

@ -221,6 +221,11 @@ public:
*/
TC_TimeoutQueueNew<ReqMessage*> * getTimeoutQueue() { return _timeoutQueue.get(); }
/**
*
*/
void stat(ReqMessage * msg);
protected:
//创建完网络句柄后的回调
@ -268,11 +273,6 @@ private:
*/
void initStatHead();
/**
*
*/
void stat(ReqMessage * msg);
/**
*
*/