1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 00:32:41 +01:00

Set limit for execution in C# linter

Summary: This sets the limit for future execution in the C# linter to 8.  See D7606 for more information.

Test Plan:
Ran

```
arc lint --everything --trace --never-apply-patches --output json
```

and saw it only run 8 commands at once.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D7607
This commit is contained in:
James Rhodes 2013-11-19 13:36:27 -08:00 committed by epriestley
parent 61753b6770
commit fb8a0d32ae

View file

@ -184,7 +184,7 @@ final class ArcanistCSharpLinter extends ArcanistLinter {
public function didRunLinters() { public function didRunLinters() {
if ($this->futures) { if ($this->futures) {
foreach (Futures($this->futures) as $future) { foreach (Futures($this->futures)->limit(8) as $future) {
$this->resolveFuture($future); $this->resolveFuture($future);
} }
} }