diff options
| author | Benoit Socias <bso@odoo.com> | 2020-12-08 14:20:43 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2020-12-11 16:09:35 +0000 |
| commit | 0f9411d10753aa96103ce77702dbdc0516e9969a (patch) | |
| tree | fc5edb26e763a94275bbd57d3d9d9747063bc361 /doc/reference/javascript_reference.rst | |
| parent | d33d7bdf21d8a0743a1fa10b9f248d42a20f7785 (diff) | |
[IMP] gamification,gamification_sale_crm: compute goals using batch mode
Trying to improve the resources used by the challenge update cron
operation.
Before this commit some count-based goals and all sum-based goals were
computed with one select count or sum per user.
After this commit each count or sum based goal is computed in a single select
for all users. The goal form now also allows to enable batch mode for
sum computations. Other changes include:
- adding an index on the challenge_id of goals after verifying the
positive impact of such an index on high volumes on a staging server
- introducing additional intermediary commits to allow massive crons to
catch up over several attempts.
task-internal
closes odoo/odoo#63030
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
