On systems with very large numbers of CPU cores enough threads will be launched to exhaust the available number of file descriptors. This patch introduces a maximum number of threads which defaults to 16. This should be sufficient to allow large repositories such as nova to take a long time to clone, whilst simultaneously cloning many small repositories in parallel. Change-Id: I40dac8a1281c482953d508f173361e6f789ec229
12 KiB
12 KiB