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

policy: lazily start SelectorCache.handleUserNotifications #24325

Merged
merged 1 commit into from Mar 13, 2023

Conversation

lmb
Copy link
Contributor

@lmb lmb commented Mar 13, 2023

Hive wants components to not start any goroutines during startup. Change SelectorCache so that handleUserNotifications is started when the first notification is queued, not when SelectorCache is created.

Hive wants components to not start any goroutines during startup.
Change SelectorCache so that handleUserNotifications is started
when the first notification is queued, not when SelectorCache is
created.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
@lmb lmb added release-note/misc This PR makes changes that have no direct user impact. area/modularization labels Mar 13, 2023
@lmb
Copy link
Contributor Author

lmb commented Mar 13, 2023

Flake: #24217

@lmb
Copy link
Contributor Author

lmb commented Mar 13, 2023

/test

@lmb lmb marked this pull request as ready for review March 13, 2023 11:54
@lmb lmb requested review from a team as code owners March 13, 2023 11:54
@lmb lmb requested a review from christarazi March 13, 2023 11:54
@lmb
Copy link
Contributor Author

lmb commented Mar 13, 2023

cc @joamaki

@christarazi christarazi added kind/enhancement This would improve or streamline existing functionality. sig/policy Impacts whether traffic is allowed or denied based on user-defined policies. labels Mar 13, 2023
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Mar 13, 2023
@christarazi christarazi merged commit f5d6080 into cilium:master Mar 13, 2023
@lmb lmb deleted the egw-mod-selectorcache-lazy-init branch March 14, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/modularization kind/enhancement This would improve or streamline existing functionality. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact. sig/policy Impacts whether traffic is allowed or denied based on user-defined policies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants