Skip to content
Snippets Groups Projects
Verified Commit 3347f3ae authored by Michael Filz's avatar Michael Filz
Browse files

increased read timeout to 30s

parent c1696d7c
No related branches found
No related tags found
No related merge requests found
...@@ -191,7 +191,7 @@ class SOLID(object): ...@@ -191,7 +191,7 @@ class SOLID(object):
""" """
logging.debug(f'Sending request to { path }') logging.debug(f'Sending request to { path }')
try: try:
r = requests.request(method, self.base_url + path, auth = self.auth, params = params, json = data, timeout = (6.05, 15)) r = requests.request(method, self.base_url + path, auth = self.auth, params = params, json = data, timeout = (6.05, 30))
except Exception as e: except Exception as e:
raise SOLIDError(f'Connection to server failed: { str(e) }') raise SOLIDError(f'Connection to server failed: { str(e) }')
if not r.ok: if not r.ok:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment