# HG changeset patch # User Boris Feld # Date 2017-06-30 01:45:57 # Node ID c514b4fb5e27ebbbcd0631bc4de1abb8e98d87a7 # Parent b78c59e41a65f66eeb8b478b5bbd0403564fbfac configitems: register the 'worker.backgroundclose' config diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -208,6 +208,9 @@ coreconfigitem('ui', 'quiet', 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',