From 3a1773f565843cdbe3059cb26cf0346bea25bc4c Mon Sep 17 00:00:00 2001 From: AlexDuan <417921451@qq.com> Date: Tue, 24 Aug 2021 17:02:44 +0800 Subject: [PATCH] long query first kill 10minutes , second kill 2minutes --- src/query/src/queryMain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/query/src/queryMain.c b/src/query/src/queryMain.c index 5e26bb534a..b92a4625f6 100644 --- a/src/query/src/queryMain.c +++ b/src/query/src/queryMain.c @@ -754,8 +754,8 @@ bool qFixedNoBlock(void* pRepo, void* pMgmt, int32_t longQueryMs) { //solve tsdb no block to commit bool qSolveCommitNoBlock(void* pRepo, void* pMgmt) { qWarn("pRepo=%p start solve no block problem.", pRepo); - if(qFixedNoBlock(pRepo, pMgmt, 20*1000)) { + if(qFixedNoBlock(pRepo, pMgmt, 10*60*1000)) { return true; } - return qFixedNoBlock(pRepo, pMgmt, 5*1000); + return qFixedNoBlock(pRepo, pMgmt, 2*60*1000); } -- GitLab