summaryrefslogtreecommitdiffstats
path: root/vespa-http-client
diff options
context:
space:
mode:
authorJon Marius Venstad <jvenstad@yahoo-inc.com>2018-10-16 15:54:10 +0200
committerJon Marius Venstad <jvenstad@yahoo-inc.com>2018-10-16 15:54:10 +0200
commitd8c1956a1ce6c7a58be610c5a8dce8f55c834126 (patch)
tree62cd67ebafc49e15f8f5b28bc045e7ae01feb220 /vespa-http-client
parent5170fe860be4c9e57d16305f16ac2089e9daa401 (diff)
Increase timeout on closing feed client
Diffstat (limited to 'vespa-http-client')
-rw-r--r--vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/api/FeedClientImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/api/FeedClientImpl.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/api/FeedClientImpl.java
index eaf869bdcdc..5376a96ae4b 100644
--- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/api/FeedClientImpl.java
+++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/core/api/FeedClientImpl.java
@@ -28,7 +28,7 @@ public class FeedClientImpl implements FeedClient {
public FeedClientImpl(
SessionParams sessionParams, ResultCallback resultCallback, ScheduledThreadPoolExecutor timeoutExecutor) {
- this.closeTimeoutMs = (1 + sessionParams.getConnectionParams().getMaxRetries()) * (
+ this.closeTimeoutMs = (10 + 3 * sessionParams.getConnectionParams().getMaxRetries()) * (
sessionParams.getFeedParams().getServerTimeout(TimeUnit.MILLISECONDS) +
sessionParams.getFeedParams().getClientTimeout(TimeUnit.MILLISECONDS));
this.operationProcessor = new OperationProcessor(