summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorPaul Morelle <pmo@odoo.com>2020-11-19 16:30:21 +0000
committerPaul Morelle <pmo@odoo.com>2020-11-19 20:01:10 +0000
commit84bc58fc06fb460b63907102ac29d0c295636584 (patch)
tree547b0717404ddbb9999a081a16fbd86c8c747b1a /addons/mail/static/src/models/thread_cache/thread_cache.js
parent044bca5e64451d86c6f7c9dbb919c0c319a37bd5 (diff)
[FIX] event: avoid too large prefetching of event.mail
The prefetching engine wants to prefetch all the registrations to all the events of all the schedulers, which may make a lot of data. If the autocommit is on, then all this prefetched data is discarded at each loop. This commit limits the prefetching to each scheduler, so that we avoid prefetching the data unnecessarily. closes odoo/odoo#62051 X-original-commit: 904a46f28cb64e3bd51c40dc364b256d434d1c93 Signed-off-by: Olivier Dony (odo) <odo@openerp.com> Signed-off-by: Paul Morelle <madprog@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions