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

Clear plugin repository when stopping tuning #666

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

zacikpa
Copy link
Contributor

@zacikpa zacikpa commented Jul 27, 2024

Not clearing it before a profile switch would
result in never deleting the original plugin
objects - those would accumulate in memory with
each profile switch.

TBH, I believe we could get rid of the plugin repository
class altogether, I'm not quite sure what's its responsibility
and why we need it when we have the plugin manager.

@zacikpa zacikpa requested a review from yarda July 27, 2024 20:09
@yarda
Copy link
Contributor

yarda commented Jul 29, 2024

Thanks, good catch. Please link the corresponding Jira ticket. I think it's worth to get it into the stable release.

Not clearing it before a profile switch would
result in never deleting the original plugin
objects - those would accumulate in memory with
each profile switch.

Relates: RHEL-36442
Copy link
Contributor

@yarda yarda left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@yarda yarda merged commit 4eee2fe into redhat-performance:master Aug 7, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants