summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2014-10-07 18:14:32 +0200
committerMartin Trigaux <mat@openerp.com>2014-10-07 18:14:57 +0200
commitea68690407203d1c4b6119980fff0530dc232b99 (patch)
treecd65beb50f6fc2421e0bd5f1ab1138e932a08fec /addons/analytic_user_function/analytic_user_function_view.xml
parentc741d45ac1d4e955c267d82c9c0159b936cd382f (diff)
[IMP] gamification: avoid sending twice emails in cron
When the cron is running on a database with a large number of goals (e.g. website_forum with thousands of users), it's possible the CPU time is exceeded and we may have a rollback after sending some emails (for granted badges). To avoid sending twice emails, commit in cron mode after each reward.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions