fix(stream): fix bugs caused by refactor.
This commit is contained in:
parent
091238e7be
commit
226b6596d6
|
@ -91,7 +91,7 @@ int32_t tqStartStreamTask(STQ* pTq) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (pTask->status.downstreamReady == 1) {
|
||||
if (pTask->status.downstreamReady == 1 && HAS_RELATED_FILLHISTORY_TASK(pTask)) {
|
||||
tqDebug("s-task:%s downstream ready, no need to check downstream, check only related fill-history task",
|
||||
pTask->id.idStr);
|
||||
streamLaunchFillHistoryTask(pTask);
|
||||
|
|
|
@ -33,7 +33,7 @@ SStreamTaskState StreamTaskStatusList[9] = {
|
|||
};
|
||||
|
||||
SStreamEventInfo StreamTaskEventList[12] = {
|
||||
{}, // dummy event, place holder
|
||||
{.event = 0, .name = ""}, // dummy event, place holder
|
||||
{.event = TASK_EVENT_INIT, .name = "initialize"},
|
||||
{.event = TASK_EVENT_INIT_SCANHIST, .name = "scan-history-init"},
|
||||
{.event = TASK_EVENT_INIT_STREAM_SCANHIST, .name = "stream-scan-history-init"},
|
||||
|
|
Loading…
Reference in New Issue