This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v3-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-3-test by this push:
     new ce91a8a240e [v3-3-test] Speed up breeze database startup by shortening 
the healthcheck interval (#73256)
ce91a8a240e is described below

commit ce91a8a240e233574202d2d2658b8df763c412e1
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Sep 22 01:55:04 2026 +0200

    [v3-3-test] Speed up breeze database startup by shortening the healthcheck 
interval (#73256)
    
    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.
    (cherry picked from commit 386132ef49f474add5509cf206cfed936a4645bf)
    
    
    Generated-by: Claude Code (Fable 5.1)
    
    Co-authored-by: Andrew Chang <[email protected]>
---
 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 d2971bc1e62..2ba7c006456 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:

Reply via email to