From f6de716d3e659a455461dab8ca3b92cf2baf647c Mon Sep 17 00:00:00 2001 From: zhihaop Date: Thu, 15 Sep 2022 17:59:08 +0800 Subject: [PATCH] fix: asyncBatchTimeout cannot equal to zero --- src/common/src/tglobal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 96602e3375..1102870729 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -1857,7 +1857,7 @@ static void doInitGlobalConfig(void) { cfg.ptr = &tsAsyncBatchTimeout; cfg.valType = TAOS_CFG_VTYPE_INT32; cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG; - cfg.minValue = 0; + cfg.minValue = 1; cfg.maxValue = 65536; cfg.ptrLength = 0; cfg.unitType = TAOS_CFG_UTYPE_NONE; -- GitLab