diff mercurial/profiling.py @ 34410:fecea78ff2af

configitems: register the 'profiling.showmax' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:43:56 +0200
parents 0407a51b9d8c
children 83dfbda40e67
line wrap: on
line diff
--- a/mercurial/profiling.py	Fri Jun 30 03:43:55 2017 +0200
+++ b/mercurial/profiling.py	Fri Jun 30 03:43:56 2017 +0200
@@ -138,7 +138,7 @@
 
         if profformat == 'chrome':
             showmin = ui.configwith(fraction, 'profiling', 'showmin', 0.005)
-            showmax = ui.configwith(fraction, 'profiling', 'showmax', 0.999)
+            showmax = ui.configwith(fraction, 'profiling', 'showmax')
             kwargs.update(minthreshold=showmin, maxthreshold=showmax)
         elif profformat == 'hotpath':
             # inconsistent config: profiling.showmin