renyupeng 3 years ago
parent
commit
32297a292f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Apietl/conn/TidbConn.py

+ 1 - 1
Apietl/conn/TidbConn.py

@@ -27,7 +27,7 @@ class TidbConn:
                                port=ConfConstant.TIDB_PORT, charset="utf8")
 
     @classmethod
-    def _reConn(cls, num=28800, stime=3):  # 重试连接总次数为1天,这里根据实际情况自己设置,如果服务器宕机1天都没发现就......
+    def _reConn(cls, num=28800, stime=5):  # 重试连接总次数为1天,这里根据实际情况自己设置,如果服务器宕机1天都没发现就......
         _number = 0
         _status = True
         while _status and _number <= num: