Mercurial > hg
changeset 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 | f501322512b6 |
files | mercurial/configitems.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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',