Commit 38384314 by 陈森彬

更改重试次数

parent 3fb45c65
Showing with 1 additions and 1 deletions
......@@ -79,7 +79,7 @@ class DGTokenCrawler(token_lib.BaseTokenCrawler):
token_json = resp.json()
return token_json['access_token'], token_json['refresh_token']
@retry(tries=3)
@retry(tries=5)
def get_token_by_refresh_token(self):
refresh_token = self._redis.get(self.refresh_token_key).decode()
p_data = {
......
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