From 0d300315ee1144b50bdf666f364cd02dceb2e5cf Mon Sep 17 00:00:00 2001 From: Heshan Date: Mon, 14 Mar 2011 19:14:50 +0530 Subject: Adding cron queue to the video schedular --- modules/video_ui/video.admin.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/video_ui') diff --git a/modules/video_ui/video.admin.inc b/modules/video_ui/video.admin.inc index 8ab19b3..e55e774 100644 --- a/modules/video_ui/video.admin.inc +++ b/modules/video_ui/video.admin.inc @@ -154,6 +154,12 @@ function video_cron_admin_settings() { '#default_value' => variable_get('video_cron', TRUE), '#description' => t('If you would like to use Drupals built in cron hook, check this box. Please be warned that transcoding videos is very resource intensive. If you use poor mans cron, I highly discourage this option. I also suggest you setup your cron to call this function through CLI instead of WGET.'), ); + $form['video_queue_timeout'] = array( + '#type' => 'textfield', + '#title' => t('Video queue timeout (s).'), + '#default_value' => variable_get('video_queue_timeout', 90), + '#description' => t('The maximum time allow a video to complete their transcoding. Put a larger value for larger size video.'), + ); $form['video_ffmpeg_instances'] = array( '#type' => 'textfield', '#title' => t('Total videos to convert during each cron process.'), -- cgit v1.2.3