queue
queue copied to clipboard
Asynchronous Job Queue
Use args[0] instead of name to get the exception message as the name attribute is deprecated
This commit addresses the issue: https://github.com/OCA/queue/issues/564. # Refactor QueueJobRunner to Enhance Performance, Signal Handling, and Stability This pull request brings substantial improvements and new functionalities to the `QueueJobRunner`, which is...
Step to test: 1. user import invoices with run background (billing admin)  2. Click Import in the background > Import > error You are not allowed to access 'Models'...
`JobsTrap` `perform_enqueued_jobs` not working with jobs creating new jobs. After a call to `JobsTrap.perform_enqueued_jobs` the `enqueued_jobs` attribute is empty, even if one of the jobs executed had the effect of...
## Module queue_job testing utilities ## Describe the bug After a call to perform_enqueued_jobs the enqueued_jobs is empty, even if one of the jobs created new jobs. ## To Reproduce...
Adding docs for https://github.com/OCA/queue/issues/431#issuecomment-1172328590, which could be surprising and, if not taken into account, could easily block any DB using queue_job. @moduon MT-6106
When queue_job is not used, recomputing is done with the same user that did the changes. queue_job changes that and the superuser is used instead. That causes problems. For example,...
Backport of #637 from 14.0 to 13.0.
Another attempt.