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

Ensure the SharedInformerFactory closes eventually #1585

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

smuth4
Copy link
Contributor

@smuth4 smuth4 commented Feb 15, 2023

Otherwise it will continue to collect events in the background, consuming memory that can't be GC'd. From research, it seems like UntilWithSync might be a simpler option, but since I don't have an easy way to test things against k3s, I settled for just stopping the bleeding for now.

Otherwise it will continue to collect events in the background,
consuming memory that can't be GC'd.

Also fix a minor typo.
@6543 6543 added bug Something isn't working backend/kubernetes labels Feb 15, 2023
@6543 6543 added this to the 1.0.0 milestone Feb 15, 2023
@6543 6543 enabled auto-merge (squash) February 15, 2023 23:17
@6543 6543 merged commit be4ce2e into woodpecker-ci:master Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend/kubernetes bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants