-
Notifications
You must be signed in to change notification settings - Fork 897
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
Conversation
app/models/container_image.rb
Outdated
@@ -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) |
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, that make sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
cc @enoodle (see ManageIQ/manageiq-providers-kubernetes#77 for context)
Raise creation event batched job, sparing queries and trying not to bloat MiqQueue.
2f96f9b
to
3565c87
Compare
Checked commit Ladas@3565c87 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
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.