From 3330dc8561265a2ea348d2ebd816265ec53eda31 Mon Sep 17 00:00:00 2001 From: mpeddada1 Date: Wed, 16 Oct 2024 19:36:59 +0000 Subject: [PATCH] correct timeout constant --- .../java/com/google/cloud/tools/jib/docker/CliDockerClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java b/jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java index 56926ce360..ab1be99f8c 100644 --- a/jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java +++ b/jib-core/src/main/java/com/google/cloud/tools/jib/docker/CliDockerClient.java @@ -112,7 +112,7 @@ public List getDiffIds() throws DigestException { /** * 10 minute timeout to ensure that Jib doesn't get stuck indefinitely when expecting a docker output */ - public static final Long DOCKER_OUTPUT_TIMEOUT = (long) 10; + public static final Long DOCKER_OUTPUT_TIMEOUT = (long) 10 * 60 * 1000; /** * Checks if Docker is installed on the user's system by running the `docker` command.