fix: fix mem size limit

This commit is contained in:
yihaoDeng 2022-05-17 11:33:18 +08:00
parent 079e586afb
commit a23813410b
1 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ void Testbase::InitLog(const char* path) {
tsdbDebugFlag = 0; tsdbDebugFlag = 0;
tsLogEmbedded = 1; tsLogEmbedded = 1;
tsAsyncLog = 0; tsAsyncLog = 0;
tsRpcQueueMemoryAllowed = 1024 * 1024 * 64;
taosRemoveDir(path); taosRemoveDir(path);
taosMkDir(path); taosMkDir(path);
@ -82,7 +83,7 @@ SRpcMsg* Testbase::SendReq(tmsg_t msgType, void* pCont, int32_t contLen) {
return client.SendReq(&rpcMsg); return client.SendReq(&rpcMsg);
} }
int32_t Testbase::SendShowReq(int8_t showType, const char *tb, const char* db) { int32_t Testbase::SendShowReq(int8_t showType, const char* tb, const char* db) {
if (showRsp != NULL) { if (showRsp != NULL) {
rpcFreeCont(showRsp); rpcFreeCont(showRsp);
showRsp = NULL; showRsp = NULL;