-
Notifications
You must be signed in to change notification settings - Fork 70
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
Adds a configurable period for the 1st bean refresh #349
Conversation
Configurable parameter that determines the amount in seconds before performing the 1st bean refresh. Succeeding bean refresh controlled by "refresh_beans" Decided on a default of 2m30s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of comments, also, I'm not sure if we currently have a unit test to cover the refresh beans logic, but it would be nice to have otherwise.
Note that tests appear to be failing.
I'd work on the unit test either here (if it doesn't make it before freeze).. or in another PR |
I think this resolves #292. |
What this PR does
Adds a configurable period for the 1st bean refresh.
Additional info
refresh_beans_initial
- time in seconds for jmxfetch to wait to refresh the beans for the first time.refresh_beans
parameter.refresh_beans
will default to a value equal torefresh_beans
.Motivation