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

Move batch_size_pure_sql to InventoryCollection #15794

Merged

Conversation

Ladas
Copy link
Contributor

@Ladas Ladas commented Aug 11, 2017

Move batch_size_pure_sql to InventoryCollection

Move batch_size_pure_sql to InventoryCollection
@miq-bot
Copy link
Member

miq-bot commented Aug 11, 2017

Checked commit Ladas@6155c15 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks fine. 🍰

@Ladas
Copy link
Contributor Author

Ladas commented Aug 11, 2017

@miq-bot assign @agrare
@miq-bot add_label refactoring

@@ -965,6 +965,10 @@ def batch_size
1000
end

def batch_size_pure_sql
10_000
Copy link
Member

Choose a reason for hiding this comment

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

Is this something we might want to change with a setting? Seems wrong to hard code it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, slowly getting there :-)

@agrare agrare merged commit b1d60c5 into ManageIQ:master Aug 14, 2017
@agrare agrare added this to the Sprint 67 Ending Aug 21, 2017 milestone Aug 14, 2017
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