OCA / queue

Asynchronous Job Queue
GNU Affero General Public License v3.0
183 stars 460 forks source link

[14.0][IMP] Automatically reset Started/Enquired jobs to Pending on Odoo Start #559

Closed angelvilaplana closed 8 months ago

angelvilaplana commented 1 year ago

Changes to fix the following issue: #386

The changes are made in the "QueueJobRunner" thread, where I modify the "initialize_databases" function to check if the status is enqueued or started to put it in the pending state. In this way, later the thread puts it back to start. Thus avoiding the job queues being blocked.

OCA-git-bot commented 1 year ago

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

github-actions[bot] commented 10 months ago

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.