Skip to content

Conversation

@petrus-v
Copy link
Contributor

No description provided.

@petrus-v petrus-v changed the base branch from 16.0 to 14.0 April 10, 2024 16:30
* 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
@petrus-v petrus-v force-pushed the 14.0-fix-queue_job_cron_jobrunner branch from 158ff89 to 148fb90 Compare April 10, 2024 16:38
Copy link

@alexandregaldeano alexandregaldeano left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@sbidoul sbidoul left a 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

@sbidoul
Copy link
Member

sbidoul commented Apr 14, 2024

cc/ @simahawk

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@dreispt dreispt requested a review from simahawk May 11, 2024 16:54
@dreispt
Copy link
Member

dreispt commented May 11, 2024

@simahawk care to review?

@petrus-v
Copy link
Contributor Author

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 ?

Copy link
Contributor

@simahawk simahawk left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@sbidoul
Copy link
Member

sbidoul commented Sep 12, 2024

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 14.0-ocabot-merge-pr-643-by-sbidoul-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 972727d into OCA:14.0 Sep 12, 2024
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 28460c6. Thanks a lot for contributing to OCA. ❤️

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.

6 participants