WIP: Symfony 6 project remake #2
|
@ -81,7 +81,7 @@ class UpdateSubscriptionsCommand extends Command
|
||||||
$progress->start(count($usersForUpdate));
|
$progress->start(count($usersForUpdate));
|
||||||
|
|
||||||
foreach ($usersForUpdate as $user) {
|
foreach ($usersForUpdate as $user) {
|
||||||
usleep($this->pointApiDelay);
|
\usleep($this->pointApiDelay);
|
||||||
|
|
||||||
$progress->advance();
|
$progress->advance();
|
||||||
$this->logger->info('Processing @'.$user->getLogin());
|
$this->logger->info('Processing @'.$user->getLogin());
|
||||||
|
|
|
@ -66,7 +66,7 @@ class UpdateUsersPrivacyCommand extends Command
|
||||||
$progress->start(count($usersForUpdate));
|
$progress->start(count($usersForUpdate));
|
||||||
|
|
||||||
foreach ($usersForUpdate as $user) {
|
foreach ($usersForUpdate as $user) {
|
||||||
usleep($this->pointApiDelay);
|
\usleep($this->pointApiDelay);
|
||||||
|
|
||||||
$progress->advance();
|
$progress->advance();
|
||||||
$this->logger->info('Processing @'.$user->getLogin());
|
$this->logger->info('Processing @'.$user->getLogin());
|
||||||
|
|
Loading…
Reference in a new issue