diff options
author | Harald Musum <musum@yahooinc.com> | 2023-07-06 17:33:11 +0200 |
---|---|---|
committer | Harald Musum <musum@yahooinc.com> | 2023-07-06 17:33:11 +0200 |
commit | 76880838e1c702c0f52060ad5c800536129b5333 (patch) | |
tree | 9f6c632de7bfe42d4540a6e243fbf3688aabcdd6 /hosted-api | |
parent | 2411f3779211e182d155c88e674cbb274035b78a (diff) |
Increase deploy timeout for client
Diffstat (limited to 'hosted-api')
-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 22e81f1b7ab..87bf2057bc6 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 { /** Sends the given deployment to the given application in the given zone, or throws if this fails. */ public DeploymentResult deploy(Deployment deployment, ApplicationId id, ZoneId zone) { return toDeploymentResult(send(request(HttpRequest.newBuilder(deploymentJobPath(id, zone)) - .timeout(Duration.ofMinutes(20)), + .timeout(Duration.ofMinutes(40)), POST, toDataStream(deployment)), 1)); |