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

Clarify that the default reap threshold is 30 days #66

Closed
wants to merge 2 commits into from

Conversation

MarkSRobinson
Copy link

No description provided.

@MarkSRobinson MarkSRobinson requested a review from a team as a code owner May 29, 2022 01:20
@@ -124,7 +124,7 @@ Flags:
--reap-after float Reaping threshold in minutes (default 10)
--reap-flappy Terminate nodes which have flappy readiness (default true)
--reap-old Terminate nodes older than --reap-old-threshold days
--reap-old-threshold-minutes int32 Reap N minute old nodes (default 30)
--reap-old-threshold-minutes int32 Reap N minute old nodes (default 30 days/43200 minutes)
Copy link
Collaborator

Choose a reason for hiding this comment

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

The flag already mentions minutes in this case the default value changed but the readme did not.
It should actually be

--reap-old-threshold-minutes int32   Reap N minute old nodes (default 43200)

This would actually show up correctly when you do ./governor reap node --help

Copy link

codecov bot commented Dec 9, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (df29a7a) 64.13% compared to head (302d1f0) 64.13%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   64.13%   64.13%           
=======================================
  Files          11       11           
  Lines        2136     2136           
=======================================
  Hits         1370     1370           
  Misses        669      669           
  Partials       97       97           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tekenstam tekenstam closed this Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants