diff -r 5dcbd2045dcb -r d19804c16710 mercurial/vfs.py --- a/mercurial/vfs.py Fri Jun 30 03:45:58 2017 +0200 +++ b/mercurial/vfs.py Fri Jun 30 03:45:59 2017 +0200 @@ -541,8 +541,7 @@ # There is overhead to starting and stopping the background threads. # Don't do background processing unless the file count is large enough # to justify it. - minfilecount = ui.configint('worker', 'backgroundcloseminfilecount', - 2048) + minfilecount = ui.configint('worker', 'backgroundcloseminfilecount') # FUTURE dynamically start background threads after minfilecount closes. # (We don't currently have any callers that don't know their file count) if expectedcount > 0 and expectedcount < minfilecount: