From 98fd908741504126b43753ce519ec59519f0cdfa Mon Sep 17 00:00:00 2001 From: Greg Kempe Date: Mon, 12 Feb 2024 08:28:58 +0200 Subject: [PATCH] bump timeout; the p100 recently is 7 mins for very large docs --- peachjam/analysis/citations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peachjam/analysis/citations.py b/peachjam/analysis/citations.py index a6d82d8bc..fb6593632 100644 --- a/peachjam/analysis/citations.py +++ b/peachjam/analysis/citations.py @@ -150,7 +150,7 @@ def extract_text_matches(self, frbr_uri, text): def call_citator(self, body): headers = {"Authorization": f"token {self.citator_key}"} resp = requests.post( - self.citator_url, json=body, headers=headers, timeout=60 * 5 + self.citator_url, json=body, headers=headers, timeout=60 * 10 ) resp.raise_for_status() return resp.json()