Commit e7bc7fe6 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update InvenioStore.get_record to increase HTTP timeout to 30s.

parent ceb01ae9
......@@ -443,7 +443,7 @@ class InvenioStore(object):
self._try = 0
url = "https://%s/record/%s" % (self._host, rec_id)
rep = self.interogate(url, of="recjson")
rep = self.interogate(url, timeout=30, of="recjson")
try:
li = rep.json()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment