diff options
author | Harald Musum <musum@yahooinc.com> | 2022-11-07 11:38:20 +0100 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2022-11-07 11:38:20 +0100 |
commit | b44b623850adf245c8bd55bda6989c5c8c584912 (patch) | |
tree | 8e3cc40025b56829462d086e9c9fb32a1eb89b12 | |
parent | a2eca5f54c45838d072f9641505baa3ae0d26746 (diff) |
Increase proxy request timeout
Node api requests have been seen to take about 15 seconds, increase timeout
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/proxy/ConfigServerRestExecutorImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/proxy/ConfigServerRestExecutorImpl.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/proxy/ConfigServerRestExecutorImpl.java index 9bea7fb829d..4f4e21d9f25 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/proxy/ConfigServerRestExecutorImpl.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/proxy/ConfigServerRestExecutorImpl.java @@ -58,7 +58,7 @@ import static com.yahoo.yolean.Exceptions.uncheck; public class ConfigServerRestExecutorImpl extends AbstractComponent implements ConfigServerRestExecutor { private static final Logger LOG = Logger.getLogger(ConfigServerRestExecutorImpl.class.getName()); - private static final Duration PROXY_REQUEST_TIMEOUT = Duration.ofSeconds(10); + private static final Duration PROXY_REQUEST_TIMEOUT = Duration.ofSeconds(20); private static final Duration PING_REQUEST_TIMEOUT = Duration.ofMillis(500); private static final Duration SINGLE_TARGET_WAIT = Duration.ofSeconds(2); private static final int SINGLE_TARGET_RETRIES = 3; |