Skip to content

Commit c51fc7a

Browse files
committed
Increase Solr request timeout from 30 to 120 seconds
1 parent 862961a commit c51fc7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vfbquery/solr_fetcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def get_TermInfo(self, short_forms: List[str],
9191
}
9292

9393
self.logger.debug(f"Querying Solr for {short_form}")
94-
response = requests.get(url, params=params, timeout=30)
94+
response = requests.get(url, params=params, timeout=120)
9595
response.raise_for_status()
9696

9797
data = response.json()

0 commit comments

Comments
 (0)