Fixing WS message processing conditions in ProcessWebsocketUpdatesCommand.

This commit is contained in:
Alexey Skobkin 2019-02-25 22:10:17 +03:00
parent b1d047941c
commit dbc1c060f8
1 changed files with 1 additions and 5 deletions

View File

@ -84,13 +84,9 @@ class ProcessWebsocketUpdatesCommand extends Command
try {
if ($this->messageProcessor->processMessage($message)) {
if ($keepJobs) {
} else {
if (!$keepJobs) {
$this->bsClient->delete($job);
}
} else {
}
} catch (UnsupportedTypeException $e) {
$output->writeln('Unsupported message type: '.$message->getA());