aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2020-03-20 03:49:40 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-20 03:49:40 +0000
commit5dba878b4288db666c73067a8483ff993e2aff1f (patch)
tree48eb084ce21617addd3cea2517000e9cc03499e2
parenta7b4c2d599d2ea871c033b8757f7a5312e0e18f4 (diff)
parent9f0a1b5d1c8b6d529d3cdc374f8b79d56d878b7e (diff)
Merge "Increase the http timout"
-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());