diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2020-03-20 03:49:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-20 03:49:40 +0000 |
commit | 5dba878b4288db666c73067a8483ff993e2aff1f (patch) | |
tree | 48eb084ce21617addd3cea2517000e9cc03499e2 | |
parent | a7b4c2d599d2ea871c033b8757f7a5312e0e18f4 (diff) | |
parent | 9f0a1b5d1c8b6d529d3cdc374f8b79d56d878b7e (diff) |
Merge "Increase the http timout"
-rw-r--r-- | profiles/http/src/main/java/org/onap/cli/fw/http/connect/OnapHttpConnection.java | 2 |
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()); |