Backslashes for usleep() call.
This commit is contained in:
parent
0a05264406
commit
b4bdda26e3
|
@ -81,7 +81,7 @@ class UpdateSubscriptionsCommand extends Command
|
|||
$progress->start(count($usersForUpdate));
|
||||
|
||||
foreach ($usersForUpdate as $user) {
|
||||
usleep($this->pointApiDelay);
|
||||
\usleep($this->pointApiDelay);
|
||||
|
||||
$progress->advance();
|
||||
$this->logger->info('Processing @'.$user->getLogin());
|
||||
|
|
|
@ -66,7 +66,7 @@ class UpdateUsersPrivacyCommand extends Command
|
|||
$progress->start(count($usersForUpdate));
|
||||
|
||||
foreach ($usersForUpdate as $user) {
|
||||
usleep($this->pointApiDelay);
|
||||
\usleep($this->pointApiDelay);
|
||||
|
||||
$progress->advance();
|
||||
$this->logger->info('Processing @'.$user->getLogin());
|
||||
|
|
Loading…
Reference in a new issue