From b7ac7cc0568b4906ef0bfabccf2ce2e5eca89adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Chac=C3=B3n?= Date: Wed, 22 Mar 2023 15:51:18 -0600 Subject: [PATCH] Fix timeout on integrationRestHttp.py --- src/integrationRestHttp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrationRestHttp.py b/src/integrationRestHttp.py index 05d9eacd..f42b61a3 100644 --- a/src/integrationRestHttp.py +++ b/src/integrationRestHttp.py @@ -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)) -- knotmirror 0.0.1