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