From 76a0639fc26652c9ed8ba5e573b16c2495313e47 Mon Sep 17 00:00:00 2001 From: "stark, steven" Date: Fri, 9 Jul 2021 14:46:40 -0700 Subject: [VVP] Increasing request timeout value Issue-ID: VVP-555 Signed-off-by: stark, steven Change-Id: I6c236f97cd7bc5cea1842339cf0278afa4a4b77c --- onap-client/onap_client/client/request.py | 2 +- onap-client/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/onap-client/onap_client/client/request.py b/onap-client/onap_client/client/request.py index fe96b16..d06d748 100644 --- a/onap-client/onap_client/client/request.py +++ b/onap-client/onap_client/client/request.py @@ -126,7 +126,7 @@ class Request: http.mount("https://", adapter) http.mount("http://", adapter) - return http.request(**self.kwargs, verify=verify, timeout=(6.05, 60)) + return http.request(**self.kwargs, verify=verify, timeout=(6.05, int(os.environ.get("ONAP_CLIENT_TIMEOUT", 120)))) class APICatalogRequestObject: diff --git a/onap-client/setup.py b/onap-client/setup.py index 4361479..1b34a09 100644 --- a/onap-client/setup.py +++ b/onap-client/setup.py @@ -43,7 +43,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="onap-client", - version="1.5.3", + version="1.5.4", author="Steven Stark", author_email="steven.stark@att.com", description="Python API wrapper for ONAP applications", -- cgit 1.2.3-korg