This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 386132ef49f Speed up breeze database startup by shortening the
healthcheck interval
386132ef49f is described below
commit 386132ef49f474add5509cf206cfed936a4645bf
Author: Andrew Chang <[email protected]>
AuthorDate: Thu Sep 17 04:44:08 2026 +0800
Speed up breeze database startup by shortening the healthcheck interval
Docker probes a container's healthcheck every `start_interval` during
`start_period`, and the default is 5 seconds. A fresh postgres container is
ready in 2 to 3 seconds, so the first probe was what every `breeze
start-airflow` waited on.
Both minimum versions `start_interval` requires — Docker Engine 25 and
Compose 2.20.2 — are already the floors breeze enforces, so no user can end
up on a version that would silently ignore the key.
Generated-by: Claude Code (Fable 5.1)
---
scripts/ci/docker-compose/backend-mysql.yml | 1 +
scripts/ci/docker-compose/backend-postgres.yml | 1 +
2 files changed, 2 insertions(+)
diff --git a/scripts/ci/docker-compose/backend-mysql.yml
b/scripts/ci/docker-compose/backend-mysql.yml
index 3162d93024b..78bc9c13bec 100644
--- a/scripts/ci/docker-compose/backend-mysql.yml
+++ b/scripts/ci/docker-compose/backend-mysql.yml
@@ -39,6 +39,7 @@ services:
interval: 10s
timeout: 15s
start_period: 60s
+ start_interval: 1s
retries: 5
restart: "on-failure"
command: [
diff --git a/scripts/ci/docker-compose/backend-postgres.yml
b/scripts/ci/docker-compose/backend-postgres.yml
index 078e9b394d4..cac05dba054 100644
--- a/scripts/ci/docker-compose/backend-postgres.yml
+++ b/scripts/ci/docker-compose/backend-postgres.yml
@@ -39,6 +39,7 @@ services:
interval: 10s
timeout: 10s
start_period: 30s
+ start_interval: 1s
retries: 5
restart: "on-failure"
volumes: