No output on wait
This commit is contained in:
@ -50,7 +50,7 @@ class BaseLoop extends Console\Command\Command
|
|||||||
]);
|
]);
|
||||||
$diff = $nextMinute->getTimestamp() - $start->getTimestamp();
|
$diff = $nextMinute->getTimestamp() - $start->getTimestamp();
|
||||||
if ($diff > 0) {
|
if ($diff > 0) {
|
||||||
$output->writeln("Waiting {$diff} seconds...");
|
$this->logger->debug("Waiting {$diff} seconds...");
|
||||||
sleep($diff);
|
sleep($diff);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user