From ef792116a64eb9b02abe084a1eca34141f7bb10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zsef=20Gy=C3=BCr=C3=BCsi?= <jozsef.gyurusi@ericsson.com> Date: Mon, 25 May 2020 11:30:11 +0200 Subject: [PATCH] [support #1851647] timeout added to DsRestAPI/getContentList request MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I94b0179b2a97a196ed4850d57f757de8df53e4e1 Signed-off-by: József Gyürüsi <jozsef.gyurusi@ericsson.com> --- src/DsRestAPI/Api/Python/DsRestAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DsRestAPI/Api/Python/DsRestAPI.py b/src/DsRestAPI/Api/Python/DsRestAPI.py index 0bef80f8..54b72ace 100755 --- a/src/DsRestAPI/Api/Python/DsRestAPI.py +++ b/src/DsRestAPI/Api/Python/DsRestAPI.py @@ -54,7 +54,7 @@ class DsRestAPI: def getContentList(self, request): '''Returns the response to the request as a string.''' - dsCall = {"requests": request}; + dsCall = {"requests": request, "timeOut": 5.0}; return self.__httpcall(dsCall) def get(self, request): -- GitLab