mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-22 21:40:54 +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:
parent
61753b6770
commit
fb8a0d32ae
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ final class ArcanistCSharpLinter extends ArcanistLinter {
|
|||
|
||||
public function didRunLinters() {
|
||||
if ($this->futures) {
|
||||
foreach (Futures($this->futures) as $future) {
|
||||
foreach (Futures($this->futures)->limit(8) as $future) {
|
||||
$this->resolveFuture($future);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue