Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Commit

Permalink
Better info messages on server start
Browse files Browse the repository at this point in the history
  • Loading branch information
CupOfTea696 committed May 3, 2015
1 parent f550cae commit 4943c5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ protected function enablePush()

$this->pull = $context->getSocket(ZMQ::SOCKET_PULL, self::SOCKET_PULL_ID . '.' . App::environment());
$this->pull->bind('tcp://127.0.0.1:' . $this->option('push-port'));
$this->pull->on('message', [$this->Dispatcher, 'push']); // TODO
$this->pull->on('message', [$this->Dispatcher, 'push']);

$this->info('Push enabled', 1);
$this->info('Push enabled on port <comment>[' . $this->option('push-port') . ']</comment>', 1);
}

/**
Expand All @@ -253,7 +253,7 @@ protected function allowFlash()

$webServer = new IoServer($policy, $flashSock);

$this->info('Flash connections allowed', 1);
$this->info('Flash connections allowed with policy on port <comment>[' . $this->option('flash-port') . ']</comment>', 1);
}

/**
Expand Down

0 comments on commit 4943c5d

Please sign in to comment.