Assignment of jobs does not respect the jobs priority
Bug #1252681 reported by
Guewen Baconnier @ Camptocamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Connector |
Fix Released
|
Low
|
Guewen Baconnier @ Camptocamp |
Bug Description
There is 2 places where the priority of the jobs should be applied.
Actually, as soon as the jobs are enqueued in the JobsQueue, their priority is respected.
However, before being enqueued, the jobs are assigned to a Worker, and this step does not respect the priority of the jobs.
That means that while jobs are not assigned, even if their priority is the higher, they won't be executed. This is noticeable when we enqueue tens of thousands of jobs.
The assignment of jobs to a worker should respect the priority of the jobs.
Related branches
lp:~camptocamp/openerp-connector/7.0-assign_jobs_with_priority-1252681
- OpenERP Connector Core Editors: Pending requested
-
Diff: 13 lines (+2/-1)1 file modifiedconnector/queue/model.py (+2/-1)
Changed in openerp-connector: | |
assignee: | nobody → Guewen Baconnier @ Camptocamp (gbaconnier-c2c) |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in openerp-connector: | |
status: | Confirmed → Invalid |
status: | Invalid → Fix Committed |
Changed in openerp-connector: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.