fix(stream): add upper bound for the time of waiting for creating table.
This commit is contained in:
parent
6c4dc665e0
commit
6cc3b5da0e
|
@ -861,7 +861,7 @@ int32_t doWaitForDstTableCreated(SVnode* pVnode, SStreamTask* pTask, STableSinkI
|
|||
int32_t vgId = TD_VID(pVnode);
|
||||
int64_t suid = pTask->outputInfo.tbSink.stbUid;
|
||||
const char* id = pTask->id.idStr;
|
||||
int32_t timeout = 600; // 10min
|
||||
int32_t timeout = 300; // 5min
|
||||
int64_t start = taosGetTimestampSec();
|
||||
|
||||
while (pTableSinkInfo->uid == 0) {
|
||||
|
|
Loading…
Reference in New Issue