From c6437c89a8b502d9e6a537e0ab781e7212384cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Chac=C3=B3n?= Date: Thu, 25 May 2023 18:08:42 -0600 Subject: [PATCH] increase UISP API call timeout to 60s --- src/integrationUISP.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrationUISP.py b/src/integrationUISP.py index 6cad4df6..9709aa4c 100644 --- a/src/integrationUISP.py +++ b/src/integrationUISP.py @@ -18,7 +18,7 @@ def uispRequest(target): from ispConfig import UISPbaseURL, uispAuthToken url = UISPbaseURL + "/nms/api/v2.1/" + target headers = {'accept': 'application/json', 'x-auth-token': uispAuthToken} - r = requests.get(url, headers=headers, timeout=10) + r = requests.get(url, headers=headers, timeout=60) return r.json() def buildFlatGraph():