From a93d0f66800ab06e0e464a7edffc3abb7d8cd8f6 Mon Sep 17 00:00:00 2001 From: Gil Desmarais Date: Thu, 11 Jun 2026 20:41:32 +0200 Subject: [PATCH] chore: reduce default scrape timeout to 20s --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index e8625a9..baddd58 100644 --- a/app/main.py +++ b/app/main.py @@ -18,7 +18,7 @@ from fastapi.responses import JSONResponse from pydantic import BaseModel, Field, HttpUrl, field_validator -DEFAULT_SCRAPE_TIMEOUT_SECONDS = int(os.getenv("SCRAPE_TIMEOUT_SECONDS", "25")) +DEFAULT_SCRAPE_TIMEOUT_SECONDS = int(os.getenv("SCRAPE_TIMEOUT_SECONDS", "20")) DEFAULT_WAIT_TIMEOUT_SECONDS = min(15, DEFAULT_SCRAPE_TIMEOUT_SECONDS) _MAX_WORKERS = int(os.getenv("SCRAPE_MAX_WORKERS", "4")) _RUNTIME_ROOT = Path("/tmp/scrape")