summaryrefslogtreecommitdiff
path: root/addons/web/doc/module/static/src/css/web_example.css.1.diff
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2013-03-01 16:13:25 +0100
committerOlivier Dony <odo@openerp.com>2013-03-01 16:13:25 +0100
commit261d1c434da65c4a4672bfd016cede63aa49af73 (patch)
tree4c8eb11f2abf4d77924452b3260b2b1bab4ae28c /addons/web/doc/module/static/src/css/web_example.css.1.diff
parent9205c3455dcdd25dfc677ce02b2083f592eb4ebc (diff)
parent9770caedf38a54b810225fb192fd81ec43cc41c5 (diff)
[MERGE] registry: another pass of cleanup for registry signaling
Some important points to consider: - signaling should be done after any schema alteration (including module [un]installation), service registration (e.g. reports) - the changes need to be committed to the database *before* signaling, otherwise an obvious race condition occurs during reload by other workers - any call to restart_pool() must be considered a possible candidate for signaling, and the 2 above conditions must be checked The number of explicit calls was reduced by forcing the signaling at the end of Registry.new() in case `update_module` was passed as True. In that situation we always want to signal the changes - so all the redundant signaling calls can be centralized. We can also assume that the relevant changes have already been committed at that point, otherwise the registry update would not have worked in the first place. This means that there is no need for explicit signaling anymore everytime `restart_pool` is called with `update_module=True`. Some missing cr.commit() and explicit signaling calls were added or moved to the right place. As a reminder: signaling must be done *after* committing the changes, and usually *after* reloading the registry on the current worker. bzr revid: odo@openerp.com-20130301151325-2ygvwp1cx4zms1as
Diffstat (limited to 'addons/web/doc/module/static/src/css/web_example.css.1.diff')
0 files changed, 0 insertions, 0 deletions