From 218e2cc5f33f4b0814eb3d27e649d28a43bb330f Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Thu, 24 Aug 2023 18:27:09 +0800 Subject: [PATCH] fix(stream): invoke the timer when not sending hb. --- source/libs/stream/src/streamMeta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libs/stream/src/streamMeta.c b/source/libs/stream/src/streamMeta.c index 8e48b8051d..22a9e2ab1a 100644 --- a/source/libs/stream/src/streamMeta.c +++ b/source/libs/stream/src/streamMeta.c @@ -634,6 +634,7 @@ void metaHbToMnode(void* param, void* tmrId) { } if (!readyToSendHb(&pMeta->hbInfo)) { + taosTmrReset(metaHbToMnode, META_HB_CHECK_INTERVAL, pMeta, streamEnv.timer, &pMeta->hbInfo.hbTmr); return; }