summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorVo Minh Thu <vmt@openerp.com>2012-03-28 11:03:20 +0200
committerVo Minh Thu <vmt@openerp.com>2012-03-28 11:03:20 +0200
commit1b0bfd1044dc00fcba9ea859cd72259b85e1b11a (patch)
treed8416845d7ca5ae5cd8437a3853a48add11e73bb /addons/analytic_user_function/analytic_user_function_view.xml
parent91ff283aca2dcc68eee6c1b8a899c7f5b2694a18 (diff)
[IMP] cron: alternative implementation:
- The previous implementation was optimized to make few queries to the database but needed to keep some internal state. - That state was updated whenever the ir_cron table was modified by the ORM (this works only when the cron and web processes/threads are inside a single OpenERP server instance). - The new implementation is instead polling the database. - This is deemed acceptable in `normal` situation (i.e. not a SaaS with thousand of databases). - This makes it possible to avoid sharing state or the use of IPC. - This makes it possible to add/remove additional worker processes, possibly on different machines. - The code of the older implementation is removed in this commit but will be added back in a later commit: this is the 6.1 stable branch and we don't want to change the existing installation, but simply provide a solution for those running OpenERP with Gunicorn (which uses processes for which no cron state were shared). bzr revid: vmt@openerp.com-20120328090320-vshsfv3gt1ck34s1
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions