Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit fba3c1b

Browse files
committed
Tune waiting time for better performance
1 parent d749077 commit fba3c1b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Manager.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ public function run(Settings $settings = null)
133133
$running[$file] = new LintProcess($cmdLine . escapeshellarg($file));
134134
}
135135

136-
if (count($running) > 1) {
137-
usleep(20000);
138-
}
136+
usleep(100);
139137

140138
foreach ($running as $file => $process) {
141139
if ($process->isFinished()) {

0 commit comments

Comments
 (0)