summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2018-05-01 10:42:27 -0700
committerJoren Van Onder <jov@odoo.com>2018-05-02 16:01:50 -0700
commita91512daf61c7a086f711a3b98646b1042171425 (patch)
tree2dea2e455f2210b1f67140ec8729c83225748772 /addons/web/static/src/js/views/basic/basic_model.js
parent521414b1c106187ceac972ba7ae6f5c342959940 (diff)
[FIX] gamification: support large amounts of goals in update_goals
update_goals is called through the 'Run Goal Challenge Checker' cron, potentially on a large amount of goals. With self containing ~400k records a worker has been observed to use ~3.4 GiB. With sensible memory limits this will probably cause the worker to be killed. To avoid this turn of prefetching in this initial loop. Performance shouldn't be affected too much because in the following loop prefetching for goals will still take place per definition. opw-1840666
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions