Commit ed415306 by 陈森彬

延长超时时间

parent 38384314
Showing with 1 additions and 1 deletions
......@@ -89,7 +89,7 @@ class DGTokenCrawler(token_lib.BaseTokenCrawler):
# 'refresh_token': 'jwki255qAu14VPDGhuJKQVPHixiAGO1D',
'grant_type': 'refresh_token'
}
resp = requests.post(p_url, headers=p_headers, data=p_data, timeout=(15, 20))
resp = requests.post(p_url, headers=p_headers, data=p_data, timeout=(25, 35))
token_json = resp.json()
return token_json
......
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 sign in to comment