Browse Source

Enable git automatic thread count detection

The repo build process does many git clone operations. This patch
ensures that the repo server git configuration allows git to detect
and make use of the number of CPU which are present, which
benefits operations such as check out which are highly threaded.

Change-Id: Ib01fc1c560dcb9261c328841d7472c87434edab0
Jonathan Rosser 5 months ago
parent
commit
a68a384a4f
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      tasks/repo_post_install.yml

+ 6
- 0
tasks/repo_post_install.yml View File

@@ -13,6 +13,12 @@
13 13
 # See the License for the specific language governing permissions and
14 14
 # limitations under the License.
15 15
 
16
+- name: Enable git automatic thread count detection
17
+  git_config:
18
+    scope: system
19
+    name: pack.threads
20
+    value: 0
21
+
16 22
 - name: Remove old key file(s) if found
17 23
   file:
18 24
     path: "{{ item }}"

Loading…
Cancel
Save