Increase default http timeout to 30

Otherwise larger forums will fail to download in time
This commit is contained in:
I-Al-Istannen
2025-02-19 12:06:07 +01:00
parent 5f88539f7e
commit 2f0e792670

View File

@ -22,7 +22,7 @@ ETAGS_CUSTOM_REPORT_VALUE_KEY = "etags"
class HttpCrawlerSection(CrawlerSection):
def http_timeout(self) -> float:
return self.s.getfloat("http_timeout", fallback=20)
return self.s.getfloat("http_timeout", fallback=30)
class HttpCrawler(Crawler):