Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Indexer-agent, indexer-cli: indexing rules applied instantly #352

Merged
merged 1 commit into from
Feb 3, 2022

Conversation

hopeyen
Copy link
Contributor

@hopeyen hopeyen commented Jan 11, 2022

Previously, indexers find agents needing a few minutes before picking up rules, so a common practice was to restart indexer-agent after setting the rules.

This PR speeds up the frequency of checking indexing rules, and triggers Reconcile Deployments within 20 seconds of changing the rules. -> indexers would not need to restart the agent as often.

Rebased to ford/local-rule-by-gns

@hopeyen hopeyen force-pushed the hope/local_rule_pick_up branch from 49d7bd8 to e608ef8 Compare January 24, 2022 17:38
@hopeyen hopeyen changed the base branch from main to ford/local-rules-by-gns January 24, 2022 17:43
@hopeyen hopeyen changed the title Indexer-agent: speed up reconcile when there's local rule change Indexer-agent, indexer-cli: indexing rules applied instantly Jan 24, 2022
@hopeyen hopeyen marked this pull request as ready for review January 24, 2022 17:43
@hopeyen hopeyen changed the base branch from ford/local-rules-by-gns to main January 24, 2022 17:44
@hopeyen hopeyen requested a review from fordN January 24, 2022 17:44
@hopeyen hopeyen force-pushed the hope/local_rule_pick_up branch from e608ef8 to 91ecee6 Compare January 26, 2022 00:33
Copy link
Contributor

@fordN fordN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, this looks good! Once we get the other PRs merged we can clean this up before merging.

@hopeyen hopeyen force-pushed the hope/local_rule_pick_up branch 5 times, most recently from ff99fa8 to 12bd70d Compare February 2, 2022 04:44
@hopeyen hopeyen requested a review from fordN February 2, 2022 15:14
@hopeyen hopeyen force-pushed the hope/local_rule_pick_up branch from 12bd70d to a943ec4 Compare February 2, 2022 19:41
Copy link
Contributor

@fordN fordN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants