fix(stream): fix bugs caused by refactor.

This commit is contained in:
Haojun Liao 2023-10-20 15:54:30 +08:00
parent 091238e7be
commit 226b6596d6
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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"},