From 6ec6bc4d8aee72484f7ae567aba74ec3da9f5753 Mon Sep 17 00:00:00 2001 From: Chris Murphy Date: Mon, 1 Dec 2025 16:15:27 -0500 Subject: [PATCH] pass timeout parameter to docker client request --- crawl4ai/docker_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawl4ai/docker_client.py b/crawl4ai/docker_client.py index 969fee7c..6624cf07 100644 --- a/crawl4ai/docker_client.py +++ b/crawl4ai/docker_client.py @@ -180,7 +180,7 @@ class Crawl4aiDockerClient: yield CrawlResult(**result) return stream_results() - response = await self._request("POST", "/crawl", json=data) + response = await self._request("POST", "/crawl", json=data, timeout=hooks_timeout) result_data = response.json() if not result_data.get("success", False): raise RequestError(f"Crawl failed: {result_data.get('msg', 'Unknown error')}")