summaryrefslogtreecommitdiff
path: root/addons/web/doc/module/static/src/css/web_example.css.1.diff
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-08-13 16:35:52 +0200
committerOlivier Dony <odo@openerp.com>2012-08-13 16:35:52 +0200
commitfb346a6de3254981c980b632006dd98a3b341be6 (patch)
treedeaae72d7a7cfd9f5c820d0df10af518299707d8 /addons/web/doc/module/static/src/css/web_example.css.1.diff
parentef603ac33786bdd21ebbdb76c51562141e55c58e (diff)
[FIX] base_crypt: avoid table lock on res_users during simple auth check
Performing a full table lock is potentially very slow due to the number of tables holding foreign keys towards res_users, so we should avoid doing that for simple auth check() calls. The point was only to avoid failing the update of the last login timestamp, which we don't actually care much about. So we can replace that with a simple SELECT FOR UPDATE NOWAIT on that specific user row and and skip the update in case the LOCK was not granted bzr revid: odo@openerp.com-20120813143552-3g3z0q9n1iox8a0b
Diffstat (limited to 'addons/web/doc/module/static/src/css/web_example.css.1.diff')
0 files changed, 0 insertions, 0 deletions