!Important Bugfix!
This commit is contained in:
@@ -138,7 +138,7 @@ def apiSDGB(data:str, useApi, agentExtraData, noLog=False):
|
||||
except Exception as e:
|
||||
logger.warning(f"Request Failed! Will now retry.. {e}")
|
||||
retries += 1
|
||||
time.sleep(4)
|
||||
time.sleep(3)
|
||||
else:
|
||||
# 重试次数用尽,WahlapServerBoomedError
|
||||
raise WahlapServerBoomedError("重试多次仍然不能成功请求")
|
||||
|
||||
Reference in New Issue
Block a user