提交 5ebe7559 编写于 作者: L liuyao 提交者: 54liuyao

fix pause issue

上级 4b9613f2
...@@ -327,7 +327,11 @@ int32_t streamExecForAll(SStreamTask* pTask) { ...@@ -327,7 +327,11 @@ int32_t streamExecForAll(SStreamTask* pTask) {
while (1) { while (1) {
if (streamTaskShouldPause(&pTask->status)) { if (streamTaskShouldPause(&pTask->status)) {
return 0; if (batchSize > 1) {
break;
} else {
return 0;
}
} }
SStreamQueueItem* qItem = streamQueueNextItem(pTask->inputQueue); SStreamQueueItem* qItem = streamQueueNextItem(pTask->inputQueue);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册