From: Jeff King Date: Sun, 14 Dec 2008 02:20:26 GMT Subject: Re: [PATCH] pack-objects: don't use too many threads with few objects Message-ID: <20081214022025.GA22571@coredump.intra.peff.net> In-Reply-To: On Sat, Dec 13, 2008 at 03:06:40PM -0500, Nicolas Pitre wrote: > If there are few objects to deltify, they might be split amongst threads > so that there is simply no other objects left to delta against within > the same thread. Let's use the same 2*window treshold as used for the > final load balancing to allow extra threads to be created. > > This fixes the benign t5300 test failure. I can confirm this fixes my t5300 failure. Thanks. Tested-by: Jeff King -Peff