[FIX] share: reduce risk of slowdowns during res.groups changes
authorOlivier Dony <odo@openerp.com>
Wed, 23 Jul 2014 21:31:36 +0000 (23:31 +0200)
committerOdoo Online <online@odoo.com>
Wed, 23 Jul 2014 21:32:13 +0000 (23:32 +0200)
commita09dadd2531543b9cc7583b4f5e887a8c39819b9
tree1eb6488bc823e011109a16f2795083c18e2e563c
parentef53a831c632d7ba31ef053aced5dbb16166e10d
[FIX] share: reduce risk of slowdowns during res.groups changes

Databases with thousands of users would experience
poor performance during any change to a group during
an update/install, caused by the prefetching of
all database users when the browse cache contains
most of the groups in the system.
addons/share/res_users.py