fix: fix mem size limit
This commit is contained in:
parent
079e586afb
commit
a23813410b
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue