aboutsummaryrefslogtreecommitdiffstats
path: root/profiles/http
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gamil.com>2020-03-17 11:26:18 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2020-03-17 11:26:18 +0530
commit9f0a1b5d1c8b6d529d3cdc374f8b79d56d878b7e (patch)
tree9711745f5731de5ab3983cb00d5a979133759155 /profiles/http
parent8d3d545fa55e3485317bfb5b93b484a77dc2dd38 (diff)
Increase the http timout
Issue-ID: CLI-254 Change-Id: Icb5f38bc890205cbf21c9a60165f2c3ca65dfa9e Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'profiles/http')
-rw-r--r--profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java2
1 files changed, 1 insertions, 1 deletions
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<String, String> h : input.getReqHeaders().entrySet()) {
requestBase.addHeader(h.getKey(), h.getValue());