Repository
OCA/queue · module folder · Try on Runboat
Module version
1.0.1
Category
Others
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/queue
Last tracking update
2026-08-07 09:06:27
Authors
Odoo Community Association (OCA), Camptocamp SA
Maintainers
Odoo Community Association (OCA), Camptocamp SA
Committers
Stéphane Bidoul
Odoo dependencies
OCA/queue:
odoo/odoo:
- web
- bus
Python dependencies
openupgradelib, requests
System dependencies
None
Required by
None
Description
This module implements a simple `queue.job` runner using `ir.cron`
triggers.

It's meant to be used on environments where the regular job runner can't
be run, like on Odoo.sh.

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.

For now, it only implements the most basic features of the `queue_job`
runner, notably no channel capacity nor priorities. Please check the
ROADMAP for further details.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
ir_cron_view_form ir.cron form Inherits base.ir_cron_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • queue_job_runner Boolean
    help='If checked, the cron is considered to be a queue.job runner.'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Loading…