Assignment of jobs does not respect the jobs priority

Bug #1252681 reported by Guewen Baconnier @ Camptocamp
6
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.

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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.