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")