fix(watercrawl): bound result download timeout (#37495)

This commit is contained in:
落尘
2026-06-16 08:16:16 +00:00
committed by GitHub
parent f9ed81c3f4
commit fe64c5d4a8
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ class WaterCrawlAPIClient(BaseAPIClient):
return event_data["data"]
def download_result(self, result_object: dict[str, Any]):
response = httpx.get(result_object["result"], timeout=None)
response = httpx.get(result_object["result"], timeout=30)
try:
response.raise_for_status()
result_object["result"] = response.json()