Show More
@@ -161,3 +161,6 b" coreconfigitem('worker', 'backgroundclos" | |||
|
161 | 161 | coreconfigitem('worker', 'backgroundcloseminfilecount', |
|
162 | 162 | default=2048, |
|
163 | 163 | ) |
|
164 | coreconfigitem('worker', 'backgroundclosethreadcount', | |
|
165 | default=4, | |
|
166 | ) |
@@ -550,7 +550,7 b' class backgroundfilecloser(object):' | |||
|
550 | 550 | # Windows defaults to a limit of 512 open files. A buffer of 128 |
|
551 | 551 | # should give us enough headway. |
|
552 | 552 | maxqueue = ui.configint('worker', 'backgroundclosemaxqueue') |
|
553 |
threadcount = ui.configint('worker', 'backgroundclosethreadcount' |
|
|
553 | threadcount = ui.configint('worker', 'backgroundclosethreadcount') | |
|
554 | 554 | |
|
555 | 555 | ui.debug('starting %d threads for background file closing\n' % |
|
556 | 556 | threadcount) |
General Comments 0
You need to be logged in to leave comments.
Login now