diff --git a/README.md b/README.md index a1abbd7406..8ee2dc41d2 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ addon | version | maintainers | summary [queue_job](queue_job/) | 18.0.1.2.1 | [![guewen](https://github.com/guewen.png?size=30px)](https://github.com/guewen) | Job Queue [queue_job_batch](queue_job_batch/) | 18.0.1.0.0 | | Job Queue Batch [queue_job_cron](queue_job_cron/) | 18.0.1.1.0 | | Scheduled Actions as Queue Jobs +[queue_job_cron_jobrunner](queue_job_cron_jobrunner/) | 18.0.1.0.0 | [![ivantodorovich](https://github.com/ivantodorovich.png?size=30px)](https://github.com/ivantodorovich) | Run jobs without a dedicated JobRunner [queue_job_subscribe](queue_job_subscribe/) | 18.0.1.0.0 | | Control which users are subscribed to queue job notifications [test_queue_job](test_queue_job/) | 18.0.1.0.0 | | Queue Job Tests [test_queue_job_batch](test_queue_job_batch/) | 18.0.1.0.0 | | Test Job Queue Batch diff --git a/queue_job_cron_jobrunner/README.rst b/queue_job_cron_jobrunner/README.rst index 0017143f39..64555223a3 100644 --- a/queue_job_cron_jobrunner/README.rst +++ b/queue_job_cron_jobrunner/README.rst @@ -7,7 +7,7 @@ Queue Job Cron Jobrunner !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:a9ff3bc27cff35398d24b6b1dc300a5b8acc9c06d417b1969b1c2e2974e39ec9 + !! source digest: sha256:8805630c706cd2c715ed4e9086e130d580daff40f87890af0f3a2c928c01db16 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png @@ -38,9 +38,9 @@ Unlike the regular job runner, where jobs are dispatched to the HttpWorkers, jobs are processed on the CronWorker threads by the job runner crons. This is a design decision because: -- Odoo.sh puts HttpWorkers to sleep when there's no network activity -- HttpWorkers are meant for traffic. Users shouldn't pay the price of - background tasks. +- Odoo.sh puts HttpWorkers to sleep when there's no network activity +- HttpWorkers are meant for traffic. Users shouldn't pay the price of + background tasks. For now, it only implements the most basic features of the ``queue_job`` runner, notably no channel capacity nor priorities. Please check the @@ -79,18 +79,18 @@ In Odoo.sh, this is done by default. Parallel execution of jobs can be achieved by leveraging multiple ``ir.cron`` records: -- Make sure you have enough CronWorkers available (Odoo CLI - ``--max-cron-threads``) -- Duplicate the ``queue_job_cron`` cron record as many times as needed, - until you have as much records as cron workers. +- Make sure you have enough CronWorkers available (Odoo CLI + ``--max-cron-threads``) +- Duplicate the ``queue_job_cron`` cron record as many times as needed, + until you have as much records as cron workers. Known issues / Roadmap ====================== -- Support channel capacity and priority. (See ``_acquire_one_job``) -- Gracefully handle CronWorker CPU timeouts. (See ``_job_runner``) -- Commit transaction after job state updated to started. (See - ``_process``) +- Support channel capacity and priority. (See ``_acquire_one_job``) +- Gracefully handle CronWorker CPU timeouts. (See ``_job_runner``) +- Commit transaction after job state updated to started. (See + ``_process``) Bug Tracker =========== @@ -113,9 +113,9 @@ Authors Contributors ------------ -- `Camptocamp `__ +- `Camptocamp `__ - - Iván Todorovich + - Iván Todorovich Maintainers ----------- diff --git a/queue_job_cron_jobrunner/static/description/index.html b/queue_job_cron_jobrunner/static/description/index.html index d1b006afaa..eb4aba0576 100644 --- a/queue_job_cron_jobrunner/static/description/index.html +++ b/queue_job_cron_jobrunner/static/description/index.html @@ -367,7 +367,7 @@

Queue Job Cron Jobrunner

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:a9ff3bc27cff35398d24b6b1dc300a5b8acc9c06d417b1969b1c2e2974e39ec9 +!! source digest: sha256:8805630c706cd2c715ed4e9086e130d580daff40f87890af0f3a2c928c01db16 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Alpha License: AGPL-3 OCA/queue Translate me on Weblate Try me on Runboat

This module implements a simple queue.job runner using ir.cron diff --git a/setup/_metapackage/pyproject.toml b/setup/_metapackage/pyproject.toml index e22937b40c..58b1890a7b 100644 --- a/setup/_metapackage/pyproject.toml +++ b/setup/_metapackage/pyproject.toml @@ -1,10 +1,11 @@ [project] name = "odoo-addons-oca-queue" -version = "18.0.20250220.0" +version = "18.0.20250222.0" dependencies = [ "odoo-addon-queue_job==18.0.*", "odoo-addon-queue_job_batch==18.0.*", "odoo-addon-queue_job_cron==18.0.*", + "odoo-addon-queue_job_cron_jobrunner==18.0.*", "odoo-addon-queue_job_subscribe==18.0.*", "odoo-addon-test_queue_job==18.0.*", "odoo-addon-test_queue_job_batch==18.0.*",