##// END OF EJS Templates
configitems: register the 'worker.backgroundclosemaxqueue' config
marmoute -
r33227:5dcbd204 default
parent child Browse files
Show More
@@ -155,3 +155,6 b" coreconfigitem('ui', 'interactive',"
155 coreconfigitem('ui', 'quiet',
155 coreconfigitem('ui', 'quiet',
156 default=False,
156 default=False,
157 )
157 )
158 coreconfigitem('worker', 'backgroundclosemaxqueue',
159 default=384,
160 )
@@ -550,7 +550,7 b' class backgroundfilecloser(object):'
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' %
General Comments 0
You need to be logged in to leave comments. Login now