Commit 62fbebb080576d5ba19219ff81323e4a14f59c94
1 parent
1dee4bdc
增加超时时间
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 = (6,6) | |
48 | + self.timeout = (10,10) | |
49 | 49 | self.max_retries = 3 |
50 | 50 | self.keep_alive = False |
51 | 51 | self.ssl_verify = False | ... | ... |