other: comment invalid sleep for test purpose
This commit is contained in:
parent
225dfb1a93
commit
a9abe78eab
|
@ -196,9 +196,10 @@ int32_t streamProcessCheckpointTriggerBlock(SStreamTask* pTask, SStreamDataBlock
|
|||
}
|
||||
|
||||
int32_t ref = atomic_add_fetch_32(&pTask->status.timerActive, 1);
|
||||
stDebug("s-task:%s start check-rsp monitor in 10s, ref:%d ", pTask->id.idStr, ref);
|
||||
stDebug("s-task:%s start checkpoint-trigger monitor in 10s, ref:%d ", pTask->id.idStr, ref);
|
||||
SActiveCheckpointInfo* pActive = pTask->chkInfo.pActiveInfo;
|
||||
if (pActive->pCheckTmr == NULL) {
|
||||
streamMetaAcquireOneTask(pTask);
|
||||
pActive->pCheckTmr = taosTmrStart(checkpointTriggerMonitorFn, 100, pTask, streamTimer);
|
||||
} else {
|
||||
taosTmrReset(checkpointTriggerMonitorFn, 100, pTask, streamTimer, &pActive->pCheckTmr);
|
||||
|
|
|
@ -598,7 +598,7 @@ static int32_t doStreamExecTask(SStreamTask* pTask) {
|
|||
int32_t type = pInput->type;
|
||||
if (type == STREAM_INPUT__CHECKPOINT_TRIGGER) {
|
||||
if (pTask->pMeta->vgId == 2) {
|
||||
taosSsleep(20);
|
||||
// taosSsleep(20);
|
||||
}
|
||||
|
||||
streamProcessCheckpointTriggerBlock(pTask, (SStreamDataBlock*)pInput);
|
||||
|
|
Loading…
Reference in New Issue