-
Notifications
You must be signed in to change notification settings - Fork 74
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
Postpone reenqueuing the iteration job until after callbacks are done #345
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,10 @@ | |
require 'pagy' | ||
require 'pagy/extras/bulma' | ||
|
||
# Force the TaskJob class to load so we can verify upstream compatibility with | ||
# the JobIteration gem | ||
require_relative '../app/jobs/maintenance_tasks/task_job' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe instead of requiring the file we could to the check here instead? But that separates it from the patch itself so it's probably worse. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I think it might be less confusing to keep them altogether for now |
||
|
||
# The engine's namespace module. It provides isolation between the host | ||
# application's code and the engine-specific code. Top-level engine constants | ||
# and variables are defined under this module. | ||
|
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.
Technically we're not ignoring it, more like postponing it but ok 😅
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.
I thought about using "postpone" instead, but then figured it's not really postponed because we call it again explicitly, it is more just outright ignored the first time 😛