Show More
@@ -1114,7 +1114,9 b' class dirstate(object):' | |||||
1114 | # how to read the config file. |
|
1114 | # how to read the config file. | |
1115 | numcpus = self._ui.configint("worker", "numcpus") |
|
1115 | numcpus = self._ui.configint("worker", "numcpus") | |
1116 | if numcpus is not None: |
|
1116 | if numcpus is not None: | |
1117 |
encoding.environ.setdefault( |
|
1117 | encoding.environ.setdefault( | |
|
1118 | b'RAYON_NUM_THREADS', b'%d' % numcpus | |||
|
1119 | ) | |||
1118 |
|
1120 | |||
1119 | workers_enabled = self._ui.configbool("worker", "enabled", True) |
|
1121 | workers_enabled = self._ui.configbool("worker", "enabled", True) | |
1120 | if not workers_enabled: |
|
1122 | if not workers_enabled: |
General Comments 0
You need to be logged in to leave comments.
Login now