UpdateSubscriptionsCommand advance progressbar before processing any operations with user.
This commit is contained in:
parent
b5b10b3072
commit
80a7cc47be
|
@ -179,6 +179,8 @@ class UpdateSubscriptionsCommand extends ContainerAwareCommand
|
||||||
foreach ($users as $user) {
|
foreach ($users as $user) {
|
||||||
usleep($this->apiDelay);
|
usleep($this->apiDelay);
|
||||||
|
|
||||||
|
$this->progress->advance();
|
||||||
|
|
||||||
$this->logger->info('Processing @'.$user->getLogin());
|
$this->logger->info('Processing @'.$user->getLogin());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -215,8 +217,6 @@ class UpdateSubscriptionsCommand extends ContainerAwareCommand
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->progress->advance();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue