aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorHeshan <heshan@heidisoft.com>2011-03-14 19:14:50 +0530
committerHeshan <heshan@heidisoft.com>2011-03-14 19:14:50 +0530
commit0d300315ee1144b50bdf666f364cd02dceb2e5cf (patch)
tree04f10c406652bcc9327dd924511feba8cc04f330 /modules
parentfbf8a0a295104d0c4d7060c53c2c51330a355d28 (diff)
downloadvideo-0d300315ee1144b50bdf666f364cd02dceb2e5cf.tar.gz
video-0d300315ee1144b50bdf666f364cd02dceb2e5cf.tar.bz2
Adding cron queue to the video schedular
Diffstat (limited to 'modules')
-rw-r--r--modules/video_ui/video.admin.inc6
1 files changed, 6 insertions, 0 deletions
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.'),