Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit df551e9

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

File tree

Expand file treeCollapse file tree

2 files changed

+54
-54
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+54
-54
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Helper/ProgressBar.php
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.