changeset 33233:c9849bec227a

configitems: register the 'worker.numcpus' config
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 30 Jun 2017 03:46:01 +0200
parents 4531a967e7f1
children b62d13506860
files mercurial/configitems.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,
+)