equal
deleted
inserted
replaced
89 self.wview('pyvaltable', pyvalue=pyvalue, header_column_idx=0) |
89 self.wview('pyvaltable', pyvalue=pyvalue, header_column_idx=0) |
90 # repository information |
90 # repository information |
91 w(u'<h2>%s</h2>' % _('Repository')) |
91 w(u'<h2>%s</h2>' % _('Repository')) |
92 w(u'<h3>%s</h3>' % _('resources usage')) |
92 w(u'<h3>%s</h3>' % _('resources usage')) |
93 stats = self._cw.call_service('repo_stats') |
93 stats = self._cw.call_service('repo_stats') |
94 stats['looping_tasks'] = ', '.join('%s (%s seconds)' % (n, i) for n, i in stats['looping_tasks']) |
|
95 stats['threads'] = ', '.join(sorted(stats['threads'])) |
94 stats['threads'] = ', '.join(sorted(stats['threads'])) |
96 for k in stats: |
95 for k in stats: |
97 if k == 'type_cache_size': |
96 if k == 'type_cache_size': |
98 continue |
97 continue |
99 if k.endswith('_cache_size'): |
98 if k.endswith('_cache_size'): |