diff options
author | Heshan <heshan@heidisoft.com> | 2011-03-14 19:14:50 +0530 |
---|---|---|
committer | Heshan <heshan@heidisoft.com> | 2011-03-14 19:14:50 +0530 |
commit | 0d300315ee1144b50bdf666f364cd02dceb2e5cf (patch) | |
tree | 04f10c406652bcc9327dd924511feba8cc04f330 /modules/video_ui | |
parent | fbf8a0a295104d0c4d7060c53c2c51330a355d28 (diff) | |
download | video-0d300315ee1144b50bdf666f364cd02dceb2e5cf.tar.gz video-0d300315ee1144b50bdf666f364cd02dceb2e5cf.tar.bz2 |
Adding cron queue to the video schedular
Diffstat (limited to 'modules/video_ui')
-rw-r--r-- | modules/video_ui/video.admin.inc | 6 |
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.'), |