From 3500fd254fae8eae086178ae0490baef491d0f55 Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Fri, 4 Oct 2024 15:01:10 +0800 Subject: [PATCH] Update GAT.py --- py/GAT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/GAT.py b/py/GAT.py index 0a7279d..9038fa0 100644 --- a/py/GAT.py +++ b/py/GAT.py @@ -234,7 +234,7 @@ def test_connectivity_and_download(url, initial_timeout=1, retry_timeout=1): if response.status_code == 200: start_time = time.time() while time.time() - start_time < initial_timeout: - chunk = response.raw.read(512) # 尝试下载1KB数据 + chunk = response.raw.read(51200) # 尝试下载1KB数据 if chunk: return True # 成功下载数据 except requests.RequestException as e: