From a5a9ef5444c36a32f1828d17be6e432206e375b2 Mon Sep 17 00:00:00 2001 From: Pasha Sviderski Date: Thu, 26 Feb 2026 19:39:49 +1000 Subject: [PATCH] chore: init container healthcheck const --- pkg/api/container_health.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pkg/api/container_health.go diff --git a/pkg/api/container_health.go b/pkg/api/container_health.go new file mode 100644 index 00000000..b4818840 --- /dev/null +++ b/pkg/api/container_health.go @@ -0,0 +1,11 @@ +package api + +import "time" + +const ( + // defaultDockerHealthcheckInterval is the default Docker interval between health check runs. + defaultDockerHealthcheckInterval = 30 * time.Second + // defaultDockerHealthcheckRetries is the default Docker number of consecutive failures needed + // to consider the container unhealthy. + defaultDockerHealthcheckRetries = 3 +)