summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/underscore
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2013-10-11 12:03:13 +0200
committerOlivier Dony <odo@openerp.com>2013-10-11 12:03:13 +0200
commit78579d289b9db3e19e2c3f8728fc42c53ec52620 (patch)
tree9cdf554f5d8de7bde80e42a0d2143ba84cc28a3e /addons/web/static/lib/underscore
parentdafa12d92caf553f40bd1bbb052864ab63d4bd53 (diff)
[FIX] registry: avoid discarding registry or cache when the registry is fresh
When the sequence value is 1 it means that either: - the registry was just instantiated, so there is no reason to reload it immediately, the real checks will start at next request - the db was just created with new sequences set to 1, so there has been no change to reload In both cases there is no good reason to reload the registry, and it is actually a performance killer, especially for cron workers that keep iterating on the list of databases. bzr revid: odo@openerp.com-20131011100313-4bud8e9xq2afp9z7
Diffstat (limited to 'addons/web/static/lib/underscore')
0 files changed, 0 insertions, 0 deletions