CC-4404: restart airtime-liquidsoap will interrupt the output stream and never resume until restart playout engine

-fixed
This commit is contained in:
Martin Konecny 2012-09-14 18:20:46 -04:00
parent 4ea3d86121
commit be80eeb5fd
6 changed files with 61 additions and 57 deletions

View file

@ -3,14 +3,14 @@ require_once 'php-amqplib/amqp.inc';
class Application_Model_RabbitMq
{
public static $doPush = FALSE;
public static $doPush = false;
/**
* Sets a flag to push the schedule at the end of the request.
*/
public static function PushSchedule()
{
Application_Model_RabbitMq::$doPush = TRUE;
self::$doPush = true;
}
private static function sendMessage($exchange, $data)