long query first kill 10minutes , second kill 2minutes

This commit is contained in:
AlexDuan 2021-08-24 17:02:44 +08:00
parent e14c3fc7a5
commit 3a1773f565
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}