fix(stream): try starting task even the inputQ is full.
This commit is contained in:
parent
f56aeaf1bd
commit
ed03b3a22c
|
@ -317,9 +317,10 @@ bool taskReadyForDataFromWal(SStreamTask* pTask) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if input queue is full or not
|
// check whether input queue is full or not
|
||||||
if (streamQueueIsFull(pTask->inputq.queue)) {
|
if (streamQueueIsFull(pTask->inputq.queue)) {
|
||||||
tqTrace("s-task:%s input queue is full, do nothing", pTask->id.idStr);
|
tqTrace("s-task:%s input queue is full, launch task without scanning wal", pTask->id.idStr);
|
||||||
|
streamTrySchedExec(pTask);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue