]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Prime SVN in parallel
authorvrana <jakubv@fb.com>
Fri, 1 Jun 2012 07:15:52 +0000 (00:15 -0700)
committervrana <jakubv@fb.com>
Fri, 1 Jun 2012 15:24:45 +0000 (08:24 -0700)
Summary: Same as D2629.

Test Plan: None.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin
Differential Revision: https://secure.phabricator.com/D2632

src/workflow/diff/ArcanistDiffWorkflow.php

index 5aef34ffd8b7d07856f5fd4a57aab1531eff5884..02b70a048fa3f997bde508acafbe334d742988ae 100644 (file)
@@ -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(