mercurial/vfs.py
changeset 33230 5dcbd2045dcb
parent 32772 7ad95626f6a7
child 33231 d19804c16710
equal deleted inserted replaced
33229:dd50a370c8cb 33230:5dcbd2045dcb
   548         if expectedcount > 0 and expectedcount < minfilecount:
   548         if expectedcount > 0 and expectedcount < minfilecount:
   549             return
   549             return
   550 
   550 
   551         # Windows defaults to a limit of 512 open files. A buffer of 128
   551         # Windows defaults to a limit of 512 open files. A buffer of 128
   552         # should give us enough headway.
   552         # should give us enough headway.
   553         maxqueue = ui.configint('worker', 'backgroundclosemaxqueue', 384)
   553         maxqueue = ui.configint('worker', 'backgroundclosemaxqueue')
   554         threadcount = ui.configint('worker', 'backgroundclosethreadcount', 4)
   554         threadcount = ui.configint('worker', 'backgroundclosethreadcount', 4)
   555 
   555 
   556         ui.debug('starting %d threads for background file closing\n' %
   556         ui.debug('starting %d threads for background file closing\n' %
   557                  threadcount)
   557                  threadcount)
   558 
   558