configitems: register the 'worker.backgroundclose' config
authorBoris Feld <boris.feld@octobus.net>
Fri, 30 Jun 2017 03:45:57 +0200
changeset 33474 c514b4fb5e27
parent 33473 b78c59e41a65
child 33475 f501322512b6
configitems: register the 'worker.backgroundclose' config
mercurial/configitems.py
--- 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',