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

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)
metadata = requests.get(url, timeout=5)
metadata = requests.get(url, timeout=30)
print("Retrieving information from the peoplefinder api.")
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