Skip to content

Allow configuration of config reload duration #1113

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

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

Conversation

g-hodgson-tup
Copy link
Contributor

Summary

Adds a configuration option to set the duration between checks for config changes, when reloading configuration on the fly.

Example config: configReloadCheckDuration: 10s

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • Updated documentation in README.md, if applicable.

@TwiN
Copy link
Owner

TwiN commented May 20, 2025

What's the use case for this? I'm a big fan of keeping the configuration as simple as possible, and personally, I find this isn't particularly useful, unless there's a good reason why you need this should be configurable

@g-hodgson-tup
Copy link
Contributor Author

Hi - in some cases we would rather reload the config in gatus faster - rather than waiting 30s for the config polling to occur.

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.

2 participants