未验证 提交 fb8ab642 编写于 作者: H Hui Li 提交者: GitHub

Update tmqCommon.py

上级 e667da16
...@@ -151,7 +151,7 @@ class TMQCom: ...@@ -151,7 +151,7 @@ class TMQCom:
if tdSql.getData(i, 1) == 0: if tdSql.getData(i, 1) == 0:
loopFlag = 0 loopFlag = 0
break break
time.sleep(0.1) time.sleep(0.02)
return return
def getStartCommitNotifyFromTmqsim(self,cdbName='cdb',rows=2): def getStartCommitNotifyFromTmqsim(self,cdbName='cdb',rows=2):
...@@ -165,7 +165,7 @@ class TMQCom: ...@@ -165,7 +165,7 @@ class TMQCom:
if tdSql.getData(i, 1) == 1: if tdSql.getData(i, 1) == 1:
loopFlag = 0 loopFlag = 0
break break
time.sleep(0.1) time.sleep(0.02)
return return
def create_database(self,tsql, dbName,dropFlag=1,vgroups=4,replica=1): def create_database(self,tsql, dbName,dropFlag=1,vgroups=4,replica=1):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册