-
Notifications
You must be signed in to change notification settings - Fork 37
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
MTV-1929 Clean up unused active source connections. #1312
Conversation
Signed-off-by: Matthew Arnold <marnold@redhat.com>
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1312 +/- ##
==========================================
- Coverage 15.45% 15.44% -0.01%
==========================================
Files 112 112
Lines 23377 23389 +12
==========================================
Hits 3613 3613
- Misses 19479 19491 +12
Partials 285 285
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This isn't as effective as I hoped, I still see a bunch of idle connections. Maybe I missed one somewhere. |
Log out in migration instead of controller, much better results. Signed-off-by: Matthew Arnold <marnold@redhat.com>
Quality Gate passedIssues Measures |
I moved the logouts into migration.go and it works much better now. I don't see any lingering connections from the same client creation, just one from the collector that isn't quite as obvious to fix. |
Fix for MTV-1929, cleans up most active source connections when they are done with their work.