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

Raise creation event batched job #15679

Merged
merged 1 commit into from
Aug 1, 2017

Conversation

Ladas
Copy link
Contributor

@Ladas Ladas commented Jul 28, 2017

Raise creation event batched job, sparing queries and trying not to bloat MiqQueue. This is needed for the Graph Refresh batch processing. The old refresh does not support batch processing of any kind.

@Ladas
Copy link
Contributor Author

Ladas commented Jul 28, 2017

@miq-bot assign @agrare
@miq-bot add_label enhancement

@@ -75,6 +75,12 @@ def perform_metadata_scan(ost)
scan_via_miq_vm(miq_cnt_group, ost)
end

def self.raise_creation_event(container_image_ids)
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider naming it plural raise_creation_events.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, that make sense

Copy link
Contributor

@cben cben left a comment

Choose a reason for hiding this comment

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

Raise creation event batched job, sparing queries and
trying not to bloat MiqQueue.
@Ladas Ladas force-pushed the raise_creation_event_batched_job branch from 2f96f9b to 3565c87 Compare July 31, 2017 08:45
@miq-bot
Copy link
Member

miq-bot commented Jul 31, 2017

Checked commit Ladas@3565c87 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@agrare agrare merged commit 73c1993 into ManageIQ:master Aug 1, 2017
@agrare agrare added this to the Sprint 66 Ending Aug 7, 2017 milestone Aug 1, 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.

4 participants