fix:disable stream

This commit is contained in:
54liuyao 2023-02-23 14:24:45 +08:00
parent c16bbfadbb
commit 72e7f617e2
1 changed files with 3 additions and 0 deletions

View File

@ -1060,6 +1060,9 @@ int32_t tqProcessTaskDeployReq(STQ* pTq, int64_t version, char* msg, int32_t msg
code = streamMetaAddSerializedTask(pTq->pStreamMeta, version, msg, msgLen);
if (code < 0) return code;
#endif
if (tsDisableStream) {
return 0;
}
// 1.deserialize msg and build task
SStreamTask* pTask = taosMemoryCalloc(1, sizeof(SStreamTask));