configitems: register the 'worker.numcpus' config
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 30 Jun 2017 03:46:01 +0200
changeset 33233 c9849bec227a
parent 33232 4531a967e7f1
child 33234 b62d13506860
configitems: register the 'worker.numcpus' config
mercurial/configitems.py
--- a/mercurial/configitems.py	Fri Jun 30 03:46:00 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:46:01 2017 +0200
@@ -164,3 +164,6 @@
 coreconfigitem('worker', 'backgroundclosethreadcount',
     default=4,
 )
+coreconfigitem('worker', 'numcpus',
+    default=None,
+)