diff options
author | Torbjørn Smørgrav <smorgrav@users.noreply.github.com> | 2020-01-19 19:03:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-19 19:03:25 +0100 |
commit | a8c823fb0656e6816640ef2207d6863b4fed533e (patch) | |
tree | fa5f241434c5fd932812167b22a55a979dbf3d65 | |
parent | de5425c4fdb503c365d528ce370ed32c5f8763f9 (diff) | |
parent | e3b6d094d1358a01ceb59ee3d3822258969c4e4c (diff) |
Merge pull request #11846 from vespa-engine/jvenstad/increase-http-request-timeout-for-compile-version
Higher timeout due to slow CD controllers, for now
-rw-r--r-- | hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java b/hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java index 4559deddeda..caabdfa1479 100644 --- a/hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java +++ b/hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java @@ -126,7 +126,7 @@ public abstract class ControllerHttpClient { /** Returns the Vespa version to compile against, for a hosted Vespa application. This is its lowest runtime version. */ public String compileVersion(ApplicationId id) { return toInspector(send(request(HttpRequest.newBuilder(applicationPath(id.tenant(), id.application())) - .timeout(Duration.ofSeconds(10)), + .timeout(Duration.ofSeconds(20)), GET))) .field("compileVersion").asString(); } |