Merge lp:~acsone-openerp/ocb-server/7.0-bug-1274997-cron into lp:ocb-server
Proposed by
Laurent Mignon (Acsone)
Status: | Merged |
---|---|
Merged at revision: | 5323 |
Proposed branch: | lp:~acsone-openerp/ocb-server/7.0-bug-1274997-cron |
Merge into: | lp:ocb-server |
Diff against target: |
26 lines (+10/-1) 1 file modified
openerp/addons/base/ir/ir_cron.py (+10/-1) |
To merge this branch: | bzr merge lp:~acsone-openerp/ocb-server/7.0-bug-1274997-cron |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guewen Baconnier @ Camptocamp | code review | Approve | |
Alexandre Fayolle - camptocamp | code review, no test | Approve | |
Holger Brunn (Therp) | code review | Approve | |
Review via email: mp+204298@code.launchpad.net |
Description of the change
Automatically derived from https:/
solve lp:1274997
use the same search criteria as when listing job to excecute when acquiring the lock on the job before its execution to prevent running already executed job when the cron is running in multi thread
To post a comment you must log in.
Thanks for this! I think I encountered the same problem once, but instead of fixing it properly, I distributed the calls over the hour, then you work around the problem I guess.