Skip to content

Commit a19c068

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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy