Small style changes in ProcessWebsocketUpdatesCommand.
This commit is contained in:
parent
4ce5fe0ccb
commit
728464005e
|
@ -8,8 +8,7 @@ use Pheanstalk\Job;
|
||||||
use Skobkin\Bundle\PointToolsBundle\DTO\Api\WebSocket\Message;
|
use Skobkin\Bundle\PointToolsBundle\DTO\Api\WebSocket\Message;
|
||||||
use Skobkin\Bundle\PointToolsBundle\Service\WebSocket\WebSocketMessageProcessor;
|
use Skobkin\Bundle\PointToolsBundle\Service\WebSocket\WebSocketMessageProcessor;
|
||||||
use Symfony\Component\Console\Command\Command;
|
use Symfony\Component\Console\Command\Command;
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\{InputInterface, InputOption};
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -82,7 +81,7 @@ class ProcessWebsocketUpdatesCommand extends Command
|
||||||
$this->bsClient->delete($job);
|
$this->bsClient->delete($job);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// BS return to queue
|
$this->bsClient->release($job);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue