fix pause issue

This commit is contained in:
liuyao 2023-05-26 10:09:05 +08:00 committed by 54liuyao
parent 4b9613f266
commit 5ebe75599e
1 changed files with 5 additions and 1 deletions

View File

@ -327,7 +327,11 @@ int32_t streamExecForAll(SStreamTask* pTask) {
while (1) {
if (streamTaskShouldPause(&pTask->status)) {
return 0;
if (batchSize > 1) {
break;
} else {
return 0;
}
}
SStreamQueueItem* qItem = streamQueueNextItem(pTask->inputQueue);