From 9f0a1b5d1c8b6d529d3cdc374f8b79d56d878b7e Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Tue, 17 Mar 2020 11:26:18 +0530 Subject: Increase the http timout Issue-ID: CLI-254 Change-Id: Icb5f38bc890205cbf21c9a60165f2c3ca65dfa9e Signed-off-by: Kanagaraj Manickam k00365106 --- .../src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profiles/http/src/main/java/org') diff --git a/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java b/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java index ea219948..182cd163 100644 --- a/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java +++ b/profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java @@ -308,7 +308,7 @@ public class OnapHttpConnection { requestBase.setURI(URI.create(input.getUri())); requestBase.setConfig(RequestConfig.custom() - .setSocketTimeout(30000).setConnectTimeout(50000).build()); + .setSocketTimeout(600000).setConnectTimeout(600000).build()); for (Entry h : input.getReqHeaders().entrySet()) { requestBase.addHeader(h.getKey(), h.getValue()); -- cgit 1.2.3-korg