From a1b45168b184cc625585bbb61c10262e446049fa Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 8 May 2026 15:02:40 +0800 Subject: [PATCH 1/2] Increase check domains request timeout --- .github/workflows/check_domains.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_domains.yml b/.github/workflows/check_domains.yml index 8eb90a68fae..7644b9d2420 100644 --- a/.github/workflows/check_domains.yml +++ b/.github/workflows/check_domains.yml @@ -86,7 +86,7 @@ jobs: print(f"Retrying in {delay}s (attempt {attempt + 1}/{max_attempts})") time.sleep(delay) - response = requests.get(url, allow_redirects=True, timeout=10) + response = requests.get(url, allow_redirects=True, timeout=20) response.raise_for_status() if any(dest in response.url for dest in valid_destinations) and response.status_code == 200: From 70bb095f33c9d2828e01a91b79990b31adc3c8c9 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Fri, 8 May 2026 15:03:29 +0800 Subject: [PATCH 2/2] Add check domains retry attempt --- .github/workflows/check_domains.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_domains.yml b/.github/workflows/check_domains.yml index 7644b9d2420..8faa978f538 100644 --- a/.github/workflows/check_domains.yml +++ b/.github/workflows/check_domains.yml @@ -73,7 +73,7 @@ jobs: import requests import time - def check_domain_redirection(domain, prefix, max_attempts=5): + def check_domain_redirection(domain, prefix, max_attempts=6): """Check if the given domain redirects correctly, with exponential delays between retries.""" valid_destinations = ["ultralytics.com", "yolo11.com"] url = f"https://{prefix}{domain}"