github-actions[bot] commited on
Commit
b2e89e3
·
1 Parent(s): 0d6e70c

Update from GitHub Actions

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -412,8 +412,8 @@ async def proxy(request: Request):
412
  home_url = f"{parsed_url.scheme}://{parsed_url.netloc}"
413
 
414
  # 重试获取主页响应
415
- max_retries = 3
416
- retry_delay = 1 # 重试间隔秒数
417
  home_response = None
418
 
419
  for attempt in range(max_retries):
 
412
  home_url = f"{parsed_url.scheme}://{parsed_url.netloc}"
413
 
414
  # 重试获取主页响应
415
+ max_retries = 10
416
+ retry_delay = 2 # 重试间隔秒数
417
  home_response = None
418
 
419
  for attempt in range(max_retries):