Commit e4d805efc91bd687512bcea44293d398eb6f82a6

Authored by lixi
1 parent 3c7f88e3

加长超时时间

Showing 1 changed file with 1 additions and 1 deletions
commons/MySession.py
@@ -45,7 +45,7 @@ class mysession(requests.Session): @@ -45,7 +45,7 @@ class mysession(requests.Session):
45 self.url_client = mysession.url_client.replace("http://test.", com.get_global_config("global_data", "environment", "en")) 45 self.url_client = mysession.url_client.replace("http://test.", com.get_global_config("global_data", "environment", "en"))
46 self.header_client = mysession.header_client 46 self.header_client = mysession.header_client
47 self.body_client = mysession.body_client 47 self.body_client = mysession.body_client
48 - self.timeout = (5, 5) 48 + self.timeout = (6,6)
49 self.max_retries = 3 49 self.max_retries = 3
50 self.keep_alive = False 50 self.keep_alive = False
51 self.ssl_verify = False 51 self.ssl_verify = False