diff --git a/core/dirty_check.py b/core/dirty_check.py index 55e037bf..7615eac6 100644 --- a/core/dirty_check.py +++ b/core/dirty_check.py @@ -69,7 +69,7 @@ async def check(*text): sign = "acs {}:{}".format(accessKeyId, hash_hmac(accessKeySecret, step3, hashlib.sha1)) headers['Authorization'] = sign # 'Authorization': "acs {}:{}".format(accessKeyId, sign) - async with RetryClient(headers=headers, retry_options=ExponentialRetry(attempts=3)) as session: + async with RetryClient(headers=headers, retry_options=ExponentialRetry(attempts=5)) as session: async with session.post('{}{}'.format(root, url), data=json.dumps(body)) as resp: if resp.status == 200: result = await resp.json()