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

Add a wait between disks checks #710

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AnalogJ
Copy link
Owner

@AnalogJ AnalogJ commented Nov 8, 2024

fixes #706

@AnalogJ
Copy link
Owner Author

AnalogJ commented Nov 8, 2024

@pabsi can you add a safety check that only runs the sleep code if the sleep config value is > 0

@pabsi
Copy link

pabsi commented Nov 11, 2024

@pabsi can you add a safety check that only runs the sleep code if the sleep config value is > 0

Sorry didn't have time until now.
Just added

if mc.config.GetInt("commands.metrics_smartctl_wait") > 0 {

Thanks

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.

[FEAT] Allow a delay or different schedules between multiple disks checks
3 participants