Add "Timeout trace" to asyncqueue trace logging
This commit is contained in:
@ -470,6 +470,13 @@ static int CommandTimeout(void *cntx, int mode)
|
|||||||
StartCommand(self);
|
StartCommand(self);
|
||||||
} else {
|
} else {
|
||||||
int iRet;
|
int iRet;
|
||||||
|
if (self->trace) {
|
||||||
|
struct timeval tv;
|
||||||
|
gettimeofday(&tv, NULL);
|
||||||
|
SICSLogTimePrintf(eLog, &tv,
|
||||||
|
"Timeout Trace on AsyncQueue %s", self->queue_name);
|
||||||
|
SICSLogWriteHexTime(myCmd->tran->inp_buf, myCmd->tran->inp_idx, eLog, &tv);
|
||||||
|
}
|
||||||
iRet =
|
iRet =
|
||||||
self->protocol->handleEvent(self->protocol, myCmd->tran,
|
self->protocol->handleEvent(self->protocol, myCmd->tran,
|
||||||
AQU_TIMEOUT);
|
AQU_TIMEOUT);
|
||||||
|
Reference in New Issue
Block a user