Skip to content

daemon: send systemd READY=1 after API serve loops start#52077

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:notify_readier
Feb 23, 2026
Merged

daemon: send systemd READY=1 after API serve loops start#52077
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:notify_readier

Conversation

@thaJeztah
Copy link
Member

The daemon previously signaled systemd (READY=1) before the API Serve loops were started.

Move the readiness notification until after the API listeners are serving to reduce the window where systemd considers the daemon ready but the HTTP accept loop has not yet started.

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

The daemon previously signaled systemd (READY=1) before the API Serve loops
were started.

Move the readiness notification until after the API listeners are serving
to reduce the window where systemd considers the daemon ready but the
HTTP accept loop has not yet started.

While modifying, also use `WaitGroup.Go` for a slight cleanup.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah merged commit 1a1749a into moby:master Feb 23, 2026
252 of 253 checks passed
@thaJeztah thaJeztah deleted the notify_readier branch February 23, 2026 13:05
@vvoland vvoland modified the milestones: 29.2.2, 29.3.0 Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants