comparison mercurial/configitems.py @ 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 0407a51b9d8c
comparison
equal deleted inserted replaced
33473:b78c59e41a65 33474:c514b4fb5e27
206 default=False, 206 default=False,
207 ) 207 )
208 coreconfigitem('ui', 'username', 208 coreconfigitem('ui', 'username',
209 alias=[('ui', 'user')] 209 alias=[('ui', 'user')]
210 ) 210 )
211 coreconfigitem('worker', 'backgroundclose',
212 default=dynamicdefault,
213 )
211 # Windows defaults to a limit of 512 open files. A buffer of 128 214 # Windows defaults to a limit of 512 open files. A buffer of 128
212 # should give us enough headway. 215 # should give us enough headway.
213 coreconfigitem('worker', 'backgroundclosemaxqueue', 216 coreconfigitem('worker', 'backgroundclosemaxqueue',
214 default=384, 217 default=384,
215 ) 218 )