From 729865e272a83c500e00565f370cac9ba0a95b8d Mon Sep 17 00:00:00 2001 From: smessie Date: Thu, 30 Nov 2023 19:31:06 +0100 Subject: [PATCH] Set amount of tries for scraper requests to 5 --- server/scraper/backoff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/scraper/backoff.py b/server/scraper/backoff.py index 9199074e..83531ad2 100644 --- a/server/scraper/backoff.py +++ b/server/scraper/backoff.py @@ -2,7 +2,7 @@ TIMEOUT = 5 # Time before a request times out BACKOFF = 0.25 # Try 0.0s, 0.25s, 0.5s, 1s, 2s between requests -AMOUNT = 1 # Amount of request to make before giving up +AMOUNT = 5 # Amount of request to make before giving up class TimeoutHTTPAdapter(requests.adapters.HTTPAdapter):