From b0db186ac687e41e1a40ca3eb3abc06d505f5914 Mon Sep 17 00:00:00 2001 From: Ben Schwarz Date: Thu, 28 Aug 2014 20:28:22 +1000 Subject: [PATCH] Back concurrency down to 5 (from 50!) --- lib/util/cmd.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/util/cmd.js b/lib/util/cmd.js index 26adcaa8..aa59fad3 100644 --- a/lib/util/cmd.js +++ b/lib/util/cmd.js @@ -8,9 +8,12 @@ var createError = require('./createError'); // The concurrency limit here is kind of magic. You don't really gain a lot from // having a large number of commands spawned at once, so it isn't super -// important for this number to be large. However, it would still be nice to -// *know* how high this number can be, rather than having to guess low. -var throttler = new PThrottler(50); +// important for this number to be large. Reports have shown that much more than 5 +// or 10 cause issues for corporate networks, private repos or situations where +// internet bandwidth is limited. We're running with a concurrency of 5 until +// 1.4.X is released, at which time we'll move to what was discussed in #1262 +// https://github.com/bower/bower/pull/1262 +var throttler = new PThrottler(5); var winBatchExtensions; var winWhichCache;