fix(stream): exec task in task queuee threads.
This commit is contained in:
parent
1ebafe4a1f
commit
d752fb1ed6
|
@ -259,13 +259,7 @@ int32_t streamProcessDispatchMsg(SStreamTask* pTask, SStreamDispatchReq* pReq, S
|
||||||
}
|
}
|
||||||
|
|
||||||
tDeleteStreamDispatchReq(pReq);
|
tDeleteStreamDispatchReq(pReq);
|
||||||
|
streamSchedExec(pTask);
|
||||||
if (st == TASK_STATUS__NORMAL || st == TASK_STATUS__SCAN_HISTORY || st == TASK_STATUS__CK) {
|
|
||||||
int8_t schedStatus = streamTaskSetSchedStatusWait(pTask);
|
|
||||||
if (schedStatus == TASK_SCHED_STATUS__INACTIVE) {
|
|
||||||
streamTryExec(pTask);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue