mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 02:31:03 -03:30
add timeouts to plugin backends
This commit is contained in:
@@ -108,7 +108,7 @@ def conjur_backend(**kwargs):
|
||||
if version:
|
||||
path = '?'.join([path, version])
|
||||
|
||||
resp = requests.get(path, **lookup_kwargs)
|
||||
resp = requests.get(path, timeout=30, **lookup_kwargs)
|
||||
resp.raise_for_status()
|
||||
return resp.text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user