8000 [Console] don't redraw progress bar more than every 100ms by default · symfony/symfony@df551e9 · GitHub
[go: up one dir, main page]

Skip to content

Commit df551e9

Browse files
[Console] don't redraw progress bar more than every 100ms by default
1 parent 400eaa6 commit df551e9

File tree

2 files changed

+54
-54
lines changed

2 files changed

+54
-54
lines changed

src/Symfony/Component/Console/Helper/ProgressBar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ final class ProgressBar
5555
* @param OutputInterface $output An OutputInterface instance
5656
* @param int $max Maximum steps (0 if unknown)
5757
*/
58-
public function __construct(OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 0)
58+
public function __construct(OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 0.1)
5959
{
6060
if ($output instanceof ConsoleOutputInterface) {
6161
$output = $output->getErrorOutput();

0 commit comments

Comments
 (0)
0