odoo/addons/subscription
Olivier Dony 5a3095673f [FIX] subscription: prevent lockup during cron job execution
Due to the way cron jobs are executed in multi-process
environments, the cron arbiter holds an exclusive lock
on the cron task row in the database.
During the course of the subscription cron jobs execution
they attempt to alter a record that has a FK towards
the cron task row, effectively deadlocking the whole
cron processing thread.
The fix is rather hackish: remove the explicit FK
constraint from the subscription model towards
ir.cron - this prevent PostgreSQL from requesting
an exclusive lock and triggering a deadlock.
This is only a temporary solution, the subscription
module should be rewritten for the next stable release.

bzr revid: odo@openerp.com-20130320153430-bho6ou8b7ziohcb0
2013-03-20 16:34:30 +01:00
..
i18n Launchpad automatic translations update. 2013-03-13 04:59:10 +00:00
security [IMP] groups: remove auto-inclusion of admin in groups, and make the inclusion explicit in groups 2012-04-04 11:08:30 +02:00
__init__.py [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
__openerp__.py [REM] base_tools profile_tools 2012-10-02 17:11:17 +02:00
subscription.py [FIX] subscription: prevent lockup during cron job execution 2013-03-20 16:34:30 +01:00
subscription_demo.xml [FIX] remove referrences to res.partner.address 2012-12-11 19:53:50 +01:00
subscription_view.xml [FIX] Fixed groups in top-level menus 2012-12-07 09:57:46 +01:00