remove unecessary code
This commit is contained in:
parent
5b04b2d82a
commit
9d6f2ebdf4
1 changed files with 0 additions and 4 deletions
|
@ -7,13 +7,9 @@ class RabbitMqPlugin extends Zend_Controller_Plugin_Abstract
|
||||||
if (Application_Model_RabbitMq::$doPush) {
|
if (Application_Model_RabbitMq::$doPush) {
|
||||||
$md = array('schedule' => Application_Model_Schedule::getSchedule());
|
$md = array('schedule' => Application_Model_Schedule::getSchedule());
|
||||||
Application_Model_RabbitMq::SendMessageToPypo("update_schedule", $md);
|
Application_Model_RabbitMq::SendMessageToPypo("update_schedule", $md);
|
||||||
if (!isset($_SERVER['AIRTIME_SRV'])) {
|
|
||||||
Application_Model_RabbitMq::SendMessageToShowRecorder("update_recorder_schedule");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (memory_get_peak_usage() > 30*pow(2, 20)) {
|
if (memory_get_peak_usage() > 30*pow(2, 20)) {
|
||||||
|
|
||||||
Logging::debug("Peak memory usage: "
|
Logging::debug("Peak memory usage: "
|
||||||
.(memory_get_peak_usage()/1000000)
|
.(memory_get_peak_usage()/1000000)
|
||||||
." MB while accessing URI ".$_SERVER['REQUEST_URI']);
|
." MB while accessing URI ".$_SERVER['REQUEST_URI']);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue