diff --git a/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateSubscriptionsCommand.php b/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateSubscriptionsCommand.php index dba2540..0f9ff8c 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateSubscriptionsCommand.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateSubscriptionsCommand.php @@ -177,6 +177,8 @@ class UpdateSubscriptionsCommand extends ContainerAwareCommand { // Updating users subscribers foreach ($users as $user) { + usleep($this->apiDelay); + $this->logger->info('Processing @'.$user->getLogin()); try { @@ -215,8 +217,6 @@ class UpdateSubscriptionsCommand extends ContainerAwareCommand } $this->progress->advance(); - - usleep($this->apiDelay); } }