From: vrana Date: Fri, 1 Jun 2012 07:15:52 +0000 (-0700) Subject: Prime SVN in parallel X-Git-Tag: conduit-6~281 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=693943c1a45d66a6163443e312d68ccb3afcf710;p=arcanist.git Prime SVN in parallel Summary: Same as D2629. Test Plan: None. Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2632 --- diff --git a/src/workflow/diff/ArcanistDiffWorkflow.php b/src/workflow/diff/ArcanistDiffWorkflow.php index 5aef34ff..02b70a04 100644 --- a/src/workflow/diff/ArcanistDiffWorkflow.php +++ b/src/workflow/diff/ArcanistDiffWorkflow.php @@ -1042,7 +1042,7 @@ EOTEXT $targets[] = array('command' => 'info', 'path' => $path); } - foreach ($futures as $key => $future) { + foreach (Futures($futures)->limit(8) as $key => $future) { $target = $targets[$key]; if ($target['command'] == 'diff') { $repository_api->primeSVNDiffResult(