Commit 050fc94f authored by David Haynes's avatar David Haynes 🙆

Up the timeout period for PF API calls

- a bit incosistent in CI testing
parent 8f23d478
Pipeline #2487 passed with stage
in 2 minutes and 8 seconds
......@@ -36,7 +36,7 @@ def pfinfo(uname):
base_url = settings.PF_URL
url = base_url + "basic/all/" + str(uname)
try:
metadata = requests.get(url, timeout=5)
metadata = requests.get(url, timeout=30)
print("Retrieving information from the peoplefinder api.")
metadata.raise_for_status()
except requests.exceptions.RequestException as ex:
......
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