fix(stream): add upper bound for the time of waiting for creating table.

This commit is contained in:
Haojun Liao 2025-01-23 13:37:41 +08:00
parent 6c4dc665e0
commit 6cc3b5da0e
1 changed files with 1 additions and 1 deletions

View File

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