diff mercurial/configitems.py @ 33474:c514b4fb5e27

configitems: register the 'worker.backgroundclose' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:45:57 +0200
parents b78c59e41a65
children 0407a51b9d8c
line wrap: on
line diff
--- a/mercurial/configitems.py	Fri Jun 30 03:44:05 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:45:57 2017 +0200
@@ -208,6 +208,9 @@
 coreconfigitem('ui', 'username',
     alias=[('ui', 'user')]
 )
+coreconfigitem('worker', 'backgroundclose',
+    default=dynamicdefault,
+)
 # Windows defaults to a limit of 512 open files. A buffer of 128
 # should give us enough headway.
 coreconfigitem('worker', 'backgroundclosemaxqueue',