Fix timeout on integrationRestHttp.py

This commit is contained in:
Robert Chacón 2023-03-22 15:51:18 -06:00 committed by GitHub
parent 8b874c6e6a
commit b7ac7cc056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ def createShaper():
networkURL = restconf['baseURL'] + '/' + restconf['networkURI'].strip('/')
raw = get(networkURL, **requestConfig)
raw = get(networkURL, **requestConfig, timeout=10)
if raw.status_code != 200:
print('Failed to request ' + networkURL + ', got ' + str(raw.status_code))