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

Fix refresh time and memory issues #17724

Merged
merged 2 commits into from
Jul 18, 2018

Conversation

Ladas
Copy link
Contributor

@Ladas Ladas commented Jul 18, 2018

Fixing spikes in memory and time

https://bugzilla.redhat.com/show_bug.cgi?id=1600253

Ladas added 2 commits July 18, 2018 16:00
Define the key method on InventoryObject to avoid the .try()
Remove the dynaminc readers and writers since they can cause
massive spikes in memory and processing time.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1600253
@Ladas
Copy link
Contributor Author

Ladas commented Jul 18, 2018

@miq-bot assign @agrare
@miq-bot add_label performance

@miq-bot
Copy link
Member

miq-bot commented Jul 18, 2018

Checked commits Ladas/manageiq@f570ecc~...b893632 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🍰

@agrare
Copy link
Member

agrare commented Jul 18, 2018

👍 confirmed this fixes the memory+time spike, will merge after provider plugin spec tests passing.

Copy link
Member

@agrare agrare left a comment

Choose a reason for hiding this comment

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

Tested all provider specs with this merged and they are all green

@agrare agrare merged commit b893632 into ManageIQ:master Jul 18, 2018
agrare added a commit that referenced this pull request Jul 18, 2018
@agrare agrare added this to the Sprint 91 Ending Jul 30, 2018 milestone Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants