From 76880838e1c702c0f52060ad5c800536129b5333 Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Thu, 6 Jul 2023 17:33:11 +0200 Subject: Increase deploy timeout for client --- hosted-api/src/main/java/ai/vespa/hosted/api/ControllerHttpClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosted-api/src/main') 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)); -- cgit v1.2.3