fix(stream): jump out of loop when downstream is blocking.
This commit is contained in:
parent
02f6c971fd
commit
5e32aea1f9
|
@ -588,7 +588,7 @@ int32_t doStreamExecTask(SStreamTask* pTask) {
|
||||||
if (pTask->inputq.status == TASK_INPUT_STATUS__BLOCKED) {
|
if (pTask->inputq.status == TASK_INPUT_STATUS__BLOCKED) {
|
||||||
stWarn("s-task:%s downstream task inputQ blocked, idle for 1sec and retry", pTask->id.idStr);
|
stWarn("s-task:%s downstream task inputQ blocked, idle for 1sec and retry", pTask->id.idStr);
|
||||||
setTaskSchedInfo(pTask, 1000);
|
setTaskSchedInfo(pTask, 1000);
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*int32_t code = */ streamTaskGetDataFromInputQ(pTask, &pInput, &numOfBlocks, &blockSize);
|
/*int32_t code = */ streamTaskGetDataFromInputQ(pTask, &pInput, &numOfBlocks, &blockSize);
|
||||||
|
|
Loading…
Reference in New Issue