diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index 7df467680f..092d8ef997 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -200,7 +200,7 @@ int64_t tsWalFsyncDataSizeLimit = (100 * 1024 * 1024L); // internal int32_t tsTransPullupInterval = 2; int32_t tsMqRebalanceInterval = 2; -int32_t tsStreamCheckpointTickInterval = 2; +int32_t tsStreamCheckpointTickInterval = 20; int32_t tsTtlUnit = 86400; int32_t tsTtlPushInterval = 3600; int32_t tsGrantHBInterval = 60; diff --git a/source/dnode/mnode/impl/src/mndStream.c b/source/dnode/mnode/impl/src/mndStream.c index 236bf9ed6f..fc12fe8f25 100644 --- a/source/dnode/mnode/impl/src/mndStream.c +++ b/source/dnode/mnode/impl/src/mndStream.c @@ -1053,6 +1053,7 @@ static int32_t mndProcessStreamDoCheckpoint(SRpcMsg *pReq) { code = mndProcessStreamCheckpointTrans(pMnode, pStream, vgIds, checkpointId); sdbRelease(pSdb, pStream); } + taosHashCleanup(vgIds); return 0; }