summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-10-13 16:44:02 +0200
committerGéry Debongnie <ged@odoo.com>2015-10-14 09:17:04 +0200
commit1a4b24586dcc6230bd3c4ea7db68714aaf918593 (patch)
tree5838ab90c65f91bd58423fb62664fc776de0f422 /addons/web_editor/static/src/js/editor.js
parent7661a7402b02ad886d402e4c48f04f9f3848f999 (diff)
[FIX] mail: disable message_last_post to prevent race conditions
The message_last_post mechanism was introduced to have a trigger for automated actions, but for some reason we do not use it. Moreover, it interacts badly with the bus. Because of the message_last_post update, concurrent transactions can fail and be rollbacked. This is an issue because the bus commit the transaction after writing the messages. This means that some messages can be duplicated, and the more users are chatting, the more frequent this will happen. Since we don't use this field, it could be removed from the models, but we are in a stable release, so we need to keep it for now.
Diffstat (limited to 'addons/web_editor/static/src/js/editor.js')
0 files changed, 0 insertions, 0 deletions