Skip to content

Commit a93d0f6

Browse files
committed
chore: reduce default scrape timeout to 20s
1 parent 004f5fd commit a93d0f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from fastapi.responses import JSONResponse
1919
from pydantic import BaseModel, Field, HttpUrl, field_validator
2020

21-
DEFAULT_SCRAPE_TIMEOUT_SECONDS = int(os.getenv("SCRAPE_TIMEOUT_SECONDS", "25"))
21+
DEFAULT_SCRAPE_TIMEOUT_SECONDS = int(os.getenv("SCRAPE_TIMEOUT_SECONDS", "20"))
2222
DEFAULT_WAIT_TIMEOUT_SECONDS = min(15, DEFAULT_SCRAPE_TIMEOUT_SECONDS)
2323
_MAX_WORKERS = int(os.getenv("SCRAPE_MAX_WORKERS", "4"))
2424
_RUNTIME_ROOT = Path("/tmp/scrape")

0 commit comments

Comments
 (0)