summaryrefslogtreecommitdiff
path: root/addons/web_planner/static/src/xml/web_planner.xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-12-22 10:40:28 +0100
committerAaron Bohy <aab@odoo.com>2015-12-24 12:59:46 +0100
commitf6c20fa4b32e894f3566477d70827718261516a6 (patch)
tree222190f259cb5134dfe03434767028ef70278aa5 /addons/web_planner/static/src/xml/web_planner.xml
parentd8605b7993d3073e976bba0bba1e61a3f54510f1 (diff)
[FIX] bus,mail: user presence
Commit 5d1b323. re-enabled the user presence updates and notifications. Unfortunately, it showed poor performance due to the high frequency of bus notifications triggered on our instance (~600k users). In this rev., we don't trigger notifications on presence changes anymore, but we rather send the presence of users we have a DM open with, at the end of each poll period. For performance reasons, we ensure not to do that more than once every 30 seconds. We also refined the detection of the 'away' status client side. 'Last presence' timestamps are stored in the local storage, and the current inactivity period is sent at each poll. Those presence timestamps now rely on browser activity detection (click, keypress... events) rather than on the focus on Odoo tabs. Finally, we removed the no more necessary cron introduced in 5d1b323.
Diffstat (limited to 'addons/web_planner/static/src/xml/web_planner.xml')
0 files changed, 0 insertions, 0 deletions