equal
deleted
inserted
replaced
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 |