You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2024. It is now read-only.
This is a "To-Do" in the current code, I've tested adding:
def ENDPOINT(self, ...
consistency=None):
...
consistency = consistency or self.agent.consistency
if consistency in ('consistent', 'stale'):
params.append((consistency, '1'))
...
To the ENDPOINT=service/checks/state/node blocks and it appears to work, I'd be happy to submit a PR. Having this functionality would help with a performance issue we hit occasionally during cluster leadership changes.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is a "To-Do" in the current code, I've tested adding:
def ENDPOINT(self, ...
consistency=None):
...
consistency = consistency or self.agent.consistency
if consistency in ('consistent', 'stale'):
params.append((consistency, '1'))
...
To the ENDPOINT=service/checks/state/node blocks and it appears to work, I'd be happy to submit a PR. Having this functionality would help with a performance issue we hit occasionally during cluster leadership changes.
The text was updated successfully, but these errors were encountered: