Console ProgressBar: Change redraw default value to 25fps
This commit is contained in:
parent
80d1f44983
commit
b1c38bada7
@ -56,7 +56,7 @@ final class ProgressBar
|
||||
/**
|
||||
* @param int $max Maximum steps (0 if unknown)
|
||||
*/
|
||||
public function __construct(OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 0.1)
|
||||
public function __construct(OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 1 / 25)
|
||||
{
|
||||
if ($output instanceof ConsoleOutputInterface) {
|
||||
$output = $output->getErrorOutput();
|
||||
|
Reference in New Issue
Block a user