Skip to content

Commit

Permalink
bump timeout; the p100 recently is 7 mins for very large docs
Browse files Browse the repository at this point in the history
  • Loading branch information
longhotsummer committed Feb 12, 2024
1 parent 87daf1c commit 98fd908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peachjam/analysis/citations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 98fd908

Please sign in to comment.