Skip to content

Commit

Permalink
[BOT] post-merge updates
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed Feb 22, 2025
1 parent 3452370 commit 8c18e25
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
28 changes: 14 additions & 14 deletions queue_job_cron_jobrunner/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
===========
Expand All @@ -113,9 +113,9 @@ Authors
Contributors
------------

- `Camptocamp <https://www.camptocamp.com>`__
- `Camptocamp <https://www.camptocamp.com>`__

- Iván Todorovich <[email protected]>
- Iván Todorovich <[email protected]>

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion queue_job_cron_jobrunner/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Queue Job Cron Jobrunner</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a9ff3bc27cff35398d24b6b1dc300a5b8acc9c06d417b1969b1c2e2974e39ec9
!! source digest: sha256:8805630c706cd2c715ed4e9086e130d580daff40f87890af0f3a2c928c01db16
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/queue/tree/18.0/queue_job_cron_jobrunner"><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-18-0/queue-18-0-queue_job_cron_jobrunner"><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&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module implements a simple <tt class="docutils literal">queue.job</tt> runner using <tt class="docutils literal">ir.cron</tt>
Expand Down
3 changes: 2 additions & 1 deletion setup/_metapackage/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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.*",
Expand Down

0 comments on commit 8c18e25

Please sign in to comment.