Skip to content

Conversation

@baguenth
Copy link
Member

@baguenth baguenth commented Apr 10, 2025

In 3e5645b we got rid of the garbage collector logic for stuck queue jobs and therefore deactivated the old cron job, which was handling the garbage collection in the past.

Seems like the migration added, to deactivate the cron job, doesn't properly work. At least in my environments the cron job is still active and lead to error messages in the log like:

image

Since we actually don't need this cron job anymore, I guess we can simply remove it entirely.

@OCA-git-bot
Copy link
Contributor

Hi @guewen,
some modules you are maintaining are being modified, check this out!

@sbidoul
Copy link
Member

sbidoul commented Apr 10, 2025

@AnizR

Copy link
Contributor

@AnizR AnizR left a comment

Choose a reason for hiding this comment

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

Thanks, for fixing this issue!

@sbidoul
Copy link
Member

sbidoul commented Apr 11, 2025

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-759-by-sbidoul-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit ec84dfc into OCA:16.0 Apr 11, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@sbidoul
Copy link
Member

sbidoul commented Apr 11, 2025

@baguenth do you plan to forward port?

@baguenth
Copy link
Member Author

@baguenth do you plan to forward port?

@sbidoul @AnizR Here is the port forward for 17.0: #762

In 18.0, the logic for stuck jobs was not yet adapted.

@baguenth baguenth deleted the fix-queue-job-garbage-collector-cron branch April 15, 2025 09:37
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