change debug info

This commit is contained in:
yihaoDeng 2023-11-27 14:08:44 +08:00
parent d51baab9c2
commit 276619caed
1 changed files with 2 additions and 2 deletions

View File

@ -957,8 +957,8 @@ static void cliSendCb(uv_write_t* req, int status) {
SCliMsg* pMsg = !transQueueEmpty(&pConn->cliMsgs) ? transQueueGet(&pConn->cliMsgs, 0) : NULL;
if (pMsg != NULL) {
int64_t cost = taosGetTimestampUs() - pMsg->st;
if (cost > 1000 * 20) {
tWarn("%s conn %p send cost:%dus, send exception", CONN_GET_INST_LABEL(pConn), pConn, (int)cost);
if (cost > 1000 * 50) {
tTrace("%s conn %p send cost:%dus", CONN_GET_INST_LABEL(pConn), pConn, (int)cost);
}
}