Commit c283d6ce authored by Daniel W Bond's avatar Daniel W Bond

extended length of timeout to be consistent with CAS callback

parent bb327171
...@@ -34,7 +34,7 @@ def ISBNMetadata(standardISBN): ...@@ -34,7 +34,7 @@ def ISBNMetadata(standardISBN):
# In case the API fails to return, simply return None. # In case the API fails to return, simply return None.
try: try:
metadata = requests.get(url, timeout=0.1) metadata = requests.get(url, timeout=3)
except ConnectionError: except ConnectionError:
return None return None
......
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