@@ -372,7 +372,7 @@ <h1>Job Queue</h1>
372372!! This file is generated by oca-gen-addon-readme !!
373373!! changes will be overwritten. !!
374374!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375- !! source digest: sha256:0851db31dd9d605b8ce69a7e3f8e5775b3a6dbeeb46f78f9ecc0aa870b0cb61a
375+ !! source digest: sha256:6f668a4a03d832fe3d406bd79a70cebf7faa72c6a22371a78aa2c5627103abd4
376376!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377377< p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Mature " src ="https://img.shields.io/badge/maturity-Mature-brightgreen.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/lgpl-3.0-standalone.html "> < img alt ="License: LGPL-3 " src ="https://img.shields.io/badge/license-LGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/queue/tree/19.0/queue_job "> < img alt ="OCA/queue " src ="https://img.shields.io/badge/github-OCA%2Fqueue-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/queue-19-0/queue-19-0-queue_job "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/queue&target_branch=19.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
378378< p > This addon adds an integrated Job Queue to Odoo.</ p >
@@ -928,21 +928,7 @@ <h2><a class="toc-backref" href="#toc-entry-11">Known issues / Roadmap</a></h2>
928928< ul class ="simple ">
929929< li > After creating a new database or installing < tt class ="docutils literal "> queue_job</ tt > on an
930930existing database, Odoo must be restarted for the runner to detect it.</ li >
931- < li > When Odoo shuts down normally, it waits for running jobs to finish.
932- However, when the Odoo server crashes or is otherwise force-stopped,
933- running jobs are interrupted while the runner has no chance to know
934- they have been aborted. In such situations, jobs may remain in
935- < tt class ="docutils literal "> started</ tt > or < tt class ="docutils literal "> enqueued</ tt > state after the Odoo server is halted.
936- Since the runner has no way to know if they are actually running or
937- not, and does not know for sure if it is safe to restart the jobs, it
938- does not attempt to restart them automatically. Such stale jobs
939- therefore fill the running queue and prevent other jobs to start. You
940- must therefore requeue them manually, either from the Jobs view, or by
941- running the following SQL statement < em > before starting Odoo</ em > :</ li >
942931</ ul >
943- < pre class ="code sql literal-block ">
944- < span class ="k "> update</ span > < span class ="w "> </ span > < span class ="n "> queue_job</ span > < span class ="w "> </ span > < span class ="k "> set</ span > < span class ="w "> </ span > < span class ="k "> state</ span > < span class ="o "> =</ span > < span class ="s1 "> 'pending'</ span > < span class ="w "> </ span > < span class ="k "> where</ span > < span class ="w "> </ span > < span class ="k "> state</ span > < span class ="w "> </ span > < span class ="k "> in</ span > < span class ="w "> </ span > < span class ="p "> (</ span > < span class ="s1 "> 'started'</ span > < span class ="p "> ,</ span > < span class ="w "> </ span > < span class ="s1 "> 'enqueued'</ span > < span class ="p "> )</ span >
945- </ pre >
946932</ div >
947933< div class ="section " id ="changelog ">
948934< h2 > < a class ="toc-backref " href ="#toc-entry-12 "> Changelog</ a > </ h2 >
@@ -1008,8 +994,8 @@ <h3><a class="toc-backref" href="#toc-entry-19">Maintainers</a></h3>
1008994< p > OCA, or the Odoo Community Association, is a nonprofit organization whose
1009995mission is to support the collaborative development of Odoo features and
1010996promote its widespread use.</ p >
1011- < p > Current < a class ="reference external " href ="https://odoo-community.org/page/maintainer-role "> maintainer </ a > :</ p >
1012- < p > < a class ="reference external image-reference " href ="https://github.com/guewen "> < img alt ="guewen " src ="https://github.com/guewen.png?size=40px " /> </ a > </ p >
997+ < p > Current < a class ="reference external " href ="https://odoo-community.org/page/maintainer-role "> maintainers </ a > :</ p >
998+ < p > < a class ="reference external image-reference " href ="https://github.com/guewen "> < img alt ="guewen " src ="https://github.com/guewen.png?size=40px " /> </ a > < a class =" reference external image-reference " href =" https://github.com/sbidoul " > < img alt =" sbidoul " src =" https://github.com/sbidoul.png?size=40px " /> </ a > </ p >
1013999< p > This module is part of the < a class ="reference external " href ="https://github.com/OCA/queue/tree/19.0/queue_job "> OCA/queue</ a > project on GitHub.</ p >
10141000< p > You are welcome to contribute. To learn how please visit < a class ="reference external " href ="https://odoo-community.org/page/Contribute "> https://odoo-community.org/page/Contribute</ a > .</ p >
10151001</ div >
0 commit comments