OCA / queue

Asynchronous Job Queue
GNU Affero General Public License v3.0
179 stars 456 forks source link

[14.0][IMP] queue_job: add cron to purge dead jobs. #653

Open hparfr opened 4 months ago

hparfr commented 4 months ago

I'm trying to improve the remediation of started job stucked.

Cron Jobs Garbage Collector, with the second parameter, let you requeue started job. But if the root cause like a CPU limit error is still present after the requeue, the issue always reappear.

With this new cron, the job is marked as failed and not requeued.

OCA-git-bot commented 4 months ago

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