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 backoff on kv watcher for key not found #1908

Open
ripienaar opened this issue Nov 17, 2022 · 0 comments
Open

Add backoff on kv watcher for key not found #1908

ripienaar opened this issue Nov 17, 2022 · 0 comments
Labels

Comments

@ripienaar
Copy link
Member

When using kv to configure an auto agent that would only ever get config on some nodes we, today, will just keep polling the db at a set pace till we find something.

We should add some kind of backoff definition to the KV that would gradually slow down the checks for a key in the event when the key keeps not existing for ages.

@ripienaar ripienaar added the wd label Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant