-
-
Notifications
You must be signed in to change notification settings - Fork 533
14.0 fix queue job cron jobrunner #643
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
14.0 fix queue job cron jobrunner #643
Conversation
* use FIFO, firt createad job will be treat first * if priority are different it take the precedent Yet we are not using channel priority into account
158ff89 to
148fb90
Compare
alexandregaldeano
left a comment
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.
LGTM
sbidoul
left a comment
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.
Given the documentation of the ChannelJob class, this fix looks correct
Channel jobs are comparable according to the following rules:
* jobs with an eta come before all other jobs
* then jobs with a smaller eta come first
* then jobs with a smaller priority come first
* then jobs with a smaller creation time come first
* then jobs with a smaller sequence come first
|
cc/ @simahawk |
|
This PR has the |
|
@simahawk care to review? |
|
Hi @ivantodorovich ! I hope this finds you well :) As you are the maintainer of this module do you mind to review and merge it if you're fin with it ? |
simahawk
left a comment
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.
LGTM, thanks!
|
/ocabot merge patch |
|
On my way to merge this fine PR! |
|
Congratulations, your PR was merged at 28460c6. Thanks a lot for contributing to OCA. ❤️ |
No description provided.