From a648f7fa2d412094205b36fe657f016035ff011f Mon Sep 17 00:00:00 2001 From: drigato Date: Thu, 9 Jan 2014 11:57:32 -0500 Subject: [PATCH] CC-5665: Timeout can occur when scheduling large playlists into linked shows Added a temporary fix by extending the php time limit --- airtime_mvc/application/models/Scheduler.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/airtime_mvc/application/models/Scheduler.php b/airtime_mvc/application/models/Scheduler.php index 9cb79927c..01a12d1a1 100644 --- a/airtime_mvc/application/models/Scheduler.php +++ b/airtime_mvc/application/models/Scheduler.php @@ -515,6 +515,9 @@ class Application_Model_Scheduler private function insertAfter($scheduleItems, $mediaItems, $filesToInsert=null, $adjustSched=true, $moveAction=false) { try { + // temporary fix for CC-5665 + set_time_limit(180); + $affectedShowInstances = array(); //dont want to recalculate times for moved items