summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.contentMenu.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-04-23 15:25:49 +0200
committerThibault Delavallée <tde@odoo.com>2018-05-02 11:39:57 +0200
commit058d2fd4f6e2cea0ecb4ed92a06d1602c611a88a (patch)
tree990d3eaa9f4ac5f117a31356acee9b04ba9ac66b /addons/website/static/src/xml/website.contentMenu.xml
parentc832452590941075cc14fb85fdf2302b1ff2ddd9 (diff)
[REF] mail: shortcut chat notification if no one to notify
Well, it seems we gain a lot of query when avoiding to format a message we actually don't have to send on any bus. Cheers. Formatting message for bus notification is quite costly as it has to fetch data from message, partner, attachments, subtypes, ... meaning a lot of queries. With this commit we avoid calling that method when not necessary. It allows a gain of queries in simple cases when no-one has to be notified as shown in the performance counters. On overall community runbot about 9K queries are saved which is not bad for a 2-lines commit.
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions