mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-24 06:20:55 +01:00
Run xhpast in parallel
Summary: I wonder if this is not by purpose? Test Plan: Modified two files, ran `arc lint`. Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2629
This commit is contained in:
parent
9cd098ca01
commit
7148519bbc
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ final class ArcanistXHPASTLinter extends ArcanistLinter {
|
||||||
foreach ($paths as $path) {
|
foreach ($paths as $path) {
|
||||||
$futures[$path] = xhpast_get_parser_future($this->getData($path));
|
$futures[$path] = xhpast_get_parser_future($this->getData($path));
|
||||||
}
|
}
|
||||||
foreach ($futures as $path => $future) {
|
foreach (Futures($futures)->limit(8) as $path => $future) {
|
||||||
$this->willLintPath($path);
|
$this->willLintPath($path);
|
||||||
try {
|
try {
|
||||||
$this->trees[$path] = XHPASTTree::newFromDataAndResolvedExecFuture(
|
$this->trees[$path] = XHPASTTree::newFromDataAndResolvedExecFuture(
|
||||||
|
|
Loading…
Reference in a new issue