fix(stream): jump out of loop when downstream is blocking.

This commit is contained in:
Haojun Liao 2024-01-07 00:27:18 +08:00
parent 02f6c971fd
commit 5e32aea1f9
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ int32_t doStreamExecTask(SStreamTask* pTask) {
if (pTask->inputq.status == TASK_INPUT_STATUS__BLOCKED) {
stWarn("s-task:%s downstream task inputQ blocked, idle for 1sec and retry", pTask->id.idStr);
setTaskSchedInfo(pTask, 1000);
continue;
break;
}
/*int32_t code = */ streamTaskGetDataFromInputQ(pTask, &pInput, &numOfBlocks, &blockSize);