Commit 9c48f7cf authored by jinkaiqiang's avatar jinkaiqiang

取消超时 和多线程冲突了

parent e5de209c
Pipeline #25155 passed with stage
in 22 seconds
...@@ -22,7 +22,7 @@ class CommonTools: ...@@ -22,7 +22,7 @@ class CommonTools:
raise HSException(f"{key}不能为空") raise HSException(f"{key}不能为空")
# 超过四秒,基本上没救了,告辞~~~~ # 超过四秒,基本上没救了,告辞~~~~
@timeout_decorator.timeout(2) # @timeout_decorator.timeout(2)
def test_db_connection(self, ip: int, port: int, user_name: str, password: str, db_name: str): def test_db_connection(self, ip: int, port: int, user_name: str, password: str, db_name: str):
''' '''
测试数据库连接 测试数据库连接
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment