Show More
@@ -158,3 +158,6 b" coreconfigitem('ui', 'quiet'," | |||
|
158 | 158 | coreconfigitem('worker', 'backgroundclosemaxqueue', |
|
159 | 159 | default=384, |
|
160 | 160 | ) |
|
161 | coreconfigitem('worker', 'backgroundcloseminfilecount', | |
|
162 | default=2048, | |
|
163 | ) |
@@ -541,8 +541,7 b' class backgroundfilecloser(object):' | |||
|
541 | 541 | # There is overhead to starting and stopping the background threads. |
|
542 | 542 | # Don't do background processing unless the file count is large enough |
|
543 | 543 | # to justify it. |
|
544 |
minfilecount = ui.configint('worker', 'backgroundcloseminfilecount' |
|
|
545 | 2048) | |
|
544 | minfilecount = ui.configint('worker', 'backgroundcloseminfilecount') | |
|
546 | 545 | # FUTURE dynamically start background threads after minfilecount closes. |
|
547 | 546 | # (We don't currently have any callers that don't know their file count) |
|
548 | 547 | if expectedcount > 0 and expectedcount < minfilecount: |
General Comments 0
You need to be logged in to leave comments.
Login now