Mercurial > hg > mercurial-source
changeset 34017:b62d13506860
configitems: gather comment related to 'worker.backgroundclosemaxqueue'
Thanks to Yuya for pointing this out.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 05 Jul 2017 00:01:30 +0200 |
parents | c9849bec227a |
children | b838e857439d |
files | mercurial/configitems.py mercurial/vfs.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -155,6 +155,8 @@ coreconfigitem('ui', 'quiet', default=False, ) +# Windows defaults to a limit of 512 open files. A buffer of 128 +# should give us enough headway. coreconfigitem('worker', 'backgroundclosemaxqueue', default=384, )
--- a/mercurial/vfs.py +++ b/mercurial/vfs.py @@ -547,8 +547,6 @@ if expectedcount > 0 and expectedcount < minfilecount: return - # Windows defaults to a limit of 512 open files. A buffer of 128 - # should give us enough headway. maxqueue = ui.configint('worker', 'backgroundclosemaxqueue') threadcount = ui.configint('worker', 'backgroundclosethreadcount')