Navigation Menu

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

Reduce extra calls to Consul in HA mode #1516

Merged
merged 1 commit into from Jul 24, 2019
Merged

Reduce extra calls to Consul in HA mode #1516

merged 1 commit into from Jul 24, 2019

Conversation

csmarchbanks
Copy link
Contributor

Only check the value in Consul when the cached elected entry is not found or is older than the UpdateTimeout.

cc @cstyan @tomwilkie

Only check the value in Consul when the cached elected entry is not
found or is older than the UpdateTimeout.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
@cstyan
Copy link
Contributor

cstyan commented Jul 19, 2019

This seems reasonable to me.

@gouthamve gouthamve merged commit b421815 into master Jul 24, 2019
@gouthamve gouthamve deleted the ha-consul-spam branch July 24, 2019 18:32
xiaoyudiloveyou added a commit to xiaoyudiloveyou/cortex that referenced this pull request Jul 27, 2019
…onsul-spam"

This reverts commit b421815, reversing
changes made to 8730883.
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.

None yet

3 participants