Skip to content

Commit 2d360fb

Browse files
committed
Increase HTTP GET request timeout for instances endpoint from 20 to 40 minutes
1 parent 4c393de commit 2d360fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vfbquery/owlery_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def convert_short_form_to_iri(match):
230230
if verbose:
231231
print(f"Owlery instances URL: {prepared_request.url}")
232232

233-
# Make HTTP GET request to instances endpoint (20 minutes for OWL reasoning)
233+
# Make HTTP GET request to instances endpoint (40 minutes for OWL reasoning)
234234
# Add retry logic for connection resets (common with long-running queries)
235235
from requests.adapters import HTTPAdapter
236236
from urllib3.util.retry import Retry
@@ -249,7 +249,7 @@ def convert_short_form_to_iri(match):
249249
response = session.get(
250250
f"{self.owlery_endpoint}/instances",
251251
params=params,
252-
timeout=1200
252+
timeout=2400
253253
)
254254

255255
response.raise_for_status()

0 commit comments

Comments
 (0)