# HG changeset patch # User RĂ©mi Cardona # Date 1448382669 -3600 # Node ID 846e5676ca39f68c23d7c0b73b44134a6772c3f3 # Parent 7d01c8c675a0f7dffdbf69ba0b0e259c43e865ae [web] Stop using config.repository() Since commit 3914388b2d0f, this method creates a new Repository object and thus reloads all the cubes, taking for ever. Closes #8634417. diff -r 7d01c8c675a0 -r 846e5676ca39 web/views/debug.py --- a/web/views/debug.py Tue Nov 24 16:57:07 2015 +0100 +++ b/web/views/debug.py Tue Nov 24 17:31:09 2015 +0100 @@ -73,6 +73,7 @@ dtformat = req.property_value('ui.datetime-format') _ = req._ w = self.w + repo = req.cnx.repo # generic instance information w(u'

%s

' % _('Instance')) w(u'') @@ -83,7 +84,7 @@ w(u'' % ( _('instance home'), self._cw.vreg.config.apphome)) w(u'
%s%s
') - vcconf = req.cnx.repo.get_versions() + vcconf = repo.get_versions() w(u'

%s

' % _('versions configuration')) w(u'') w(u'' % ( @@ -94,7 +95,6 @@ cube, cubeversion)) w(u'
%s%s
') # repository information - repo = req.vreg.config.repository(None) w(u'

%s

' % _('Repository')) w(u'

%s

' % _('resources usage')) w(u'')