Merge pull request #21487 from taosdata/fix/TD-24381

fix pause issue
This commit is contained in:
Haojun Liao 2023-05-26 16:54:29 +08:00 committed by GitHub
commit b5968b313b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);