Allow push APIs to set packbuilder parallelism#535
Conversation
|
@nulltoken Do you hate an |
|
I think the |
|
Wow! Thanks to the three of you, then 😉 Just a quick question: How greedy is the auto-detection mechanism? What would be the potential side effects if
What @jamill said! |
|
@nulltoken : One thread per CPU: https://github.com/libgit2/libgit2/blob/development/src/pack-objects.c#L1076 If I hesitate to enforce some limit here on the number of threads. The system is a better judge of this that we are. |
I'd prefer the defaults to make sense. How about leveraging We may even add a check that would throw an explicit message when While we're at it, we may even update |
There was a problem hiding this comment.
How about PackbuilderDegreeOfParallelism?
|
I was going to say that we should just go fix libgit2 so that |
|
Okay, the parallelism default is now |
We want to crank up the parallelism of the packbuilder when we do pushes!