fix:disable stream
This commit is contained in:
parent
c16bbfadbb
commit
72e7f617e2
|
@ -1060,6 +1060,9 @@ int32_t tqProcessTaskDeployReq(STQ* pTq, int64_t version, char* msg, int32_t msg
|
||||||
code = streamMetaAddSerializedTask(pTq->pStreamMeta, version, msg, msgLen);
|
code = streamMetaAddSerializedTask(pTq->pStreamMeta, version, msg, msgLen);
|
||||||
if (code < 0) return code;
|
if (code < 0) return code;
|
||||||
#endif
|
#endif
|
||||||
|
if (tsDisableStream) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
// 1.deserialize msg and build task
|
// 1.deserialize msg and build task
|
||||||
SStreamTask* pTask = taosMemoryCalloc(1, sizeof(SStreamTask));
|
SStreamTask* pTask = taosMemoryCalloc(1, sizeof(SStreamTask));
|
||||||
|
|
Loading…
Reference in New Issue