Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed default value of the startInterval to 5s #47799

Conversation

j2walker
Copy link
Contributor

@j2walker j2walker commented May 5, 2024

- What I did
Changed the startInterval default value to be 5s

- How I did it
Added a new variable named defaultStartInterval and set it to 5s. Before, the default value was set to proveInterval by accident.

- How to verify it
Run the container's monitoring thread and check if the startInterval's default value is 5s instead of the original 30s.

- Description for the changelog

Fix the `StartInterval` default value of healthcheck to reflect the documented value of 5s.

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

@j2walker j2walker changed the title Changed default value of the startInterval to 5s Changed default value of the startInterval to 5s Signed-off-by: Jack Walker <jack@bunkey.org> May 5, 2024
@j2walker j2walker changed the title Changed default value of the startInterval to 5s Signed-off-by: Jack Walker <jack@bunkey.org> Changed default value of the startInterval to 5s May 5, 2024
@j2walker j2walker force-pushed the 47648-dameon-health-start-interval-default-value-fix branch from 03f6dea to e7fe35c Compare May 5, 2024 15:57
@vvoland vvoland added this to the 27.0.0 milestone May 7, 2024
@vvoland vvoland requested a review from cpuguy83 May 7, 2024 10:37
Copy link
Contributor

@vvoland vvoland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; except the small typo 😅

daemon/health.go Outdated Show resolved Hide resolved
daemon/health.go Outdated Show resolved Hide resolved
Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Jack Walker <90711509+j2walker@users.noreply.github.com>
@thaJeztah thaJeztah force-pushed the 47648-dameon-health-start-interval-default-value-fix branch from e7fe35c to c514952 Compare June 10, 2024 11:24
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah
Copy link
Member

@vvoland PTAL

@thaJeztah thaJeztah merged commit a24e3f2 into moby:master Jun 10, 2024
135 checks passed
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.

Split Healthcheck start interval into its own default value as per docs
4 participants