r103078 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103077‎ | r103078 | r103079 >
Date:23:41, 14 November 2011
Author:dale
Status:ok
Tags:
Comment:
updated transcode timeout check to use $wgTranscodeBackgroundTimeLimit configuration variable
Modified paths:
  • /trunk/extensions/TimedMediaHandler/maintenance/WebVideoJobRunner.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/maintenance/WebVideoJobRunner.php
@@ -55,7 +55,7 @@
5656 if( strpos( $proc['args'], 'runJobs.php' ) !== false &&
5757 strpos( $proc['args'], '--type webVideoTranscode' ) !== false
5858 ){
59 - if( TimedMediaHandler::parseTimeString( $proc['time'] ) > $this->transcodeTimeout ){
 59+ if( TimedMediaHandler::parseTimeString( $proc['time'] ) > $wgTranscodeBackgroundTimeLimit ){
6060 // should probably "kill" the process
6161
6262 } else {

Status & tagging log