Commit e4d805efc91bd687512bcea44293d398eb6f82a6
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 | 45 | self.url_client = mysession.url_client.replace("http://test.", com.get_global_config("global_data", "environment", "en")) |
46 | 46 | self.header_client = mysession.header_client |
47 | 47 | self.body_client = mysession.body_client |
48 | - self.timeout = (5, 5) | |
48 | + self.timeout = (6,6) | |
49 | 49 | self.max_retries = 3 |
50 | 50 | self.keep_alive = False |
51 | 51 | self.ssl_verify = False | ... | ... |