diff options
| author | Géry Debongnie <ged@odoo.com> | 2015-11-09 15:30:12 +0100 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2015-11-09 16:24:59 +0100 |
| commit | 9f6f5fe512efa6c3074e227b6318cad830c73003 (patch) | |
| tree | 6e7e1ef46011a9bf3fefb4ef86f59e690e98f817 /addons/mail/static/src/xml/thread.xml | |
| parent | 1e64c660f5afa56e5d7ca04b12c536edf87a5cbd (diff) | |
[FIX] bus: allow bus to self-correct
The bus is somewhat tricky. (at least, the crosstab version). It needs
to elect a leader, and to communicate with the server through it.
However, several tabs have a different event loop, so, we need to be
careful to avoid race conditions. The current version was not
race-condition-proof, and this commits improves on this.
The idea is to allow the bus to detect if some other tab is also
considering himself master. In that case, it is allowed to unelect
himself.
This should allow the bus to self correct those situations in a short
time.
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
0 files changed, 0 insertions, 0 deletions
