http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90074
Revision: 90074
Author: dale
Date: 2011-06-14 19:27:42 +0000 (Tue, 14 Jun 2011)
Log Message:
-----------
r90072#c18050 opps .. forgot to update function reference to maintenance path
Modified Paths:
--------------
trunk/extensions/TimedMediaHandler/maintenance/WebVideoJobRunner.php
Modified: trunk/extensions/TimedMediaHandler/maintenance/WebVideoJobRunner.php
===================================================================
--- trunk/extensions/TimedMediaHandler/maintenance/WebVideoJobRunner.php
2011-06-14 19:15:49 UTC (rev 90073)
+++ trunk/extensions/TimedMediaHandler/maintenance/WebVideoJobRunner.php
2011-06-14 19:27:42 UTC (rev 90074)
@@ -47,7 +47,7 @@
}
}
function runCheckJobThreadsLoop(){
- global $wgMaintenancePath, $wgTranscodeBackgroundTimeLimit;
+ global $IP, $wgTranscodeBackgroundTimeLimit;
// Check if we have $threads number of webTranscode jobs
running else sleep
$runingJobsCount = 0;
foreach( $this->getProcessList() as $pid => $proc ){
@@ -66,7 +66,7 @@
}
if( $runingJobsCount < $this->threads ){
// Add one process:
- $cmd = "php $wgMaintenancePath/runJobs.php --type
webVideoTranscode --maxjobs 1 --maxtime {$wgTranscodeBackgroundTimeLimit}";
+ $cmd = "php $IP/maintenance/runJobs.php --type
webVideoTranscode --maxjobs 1 --maxtime {$wgTranscodeBackgroundTimeLimit}";
$status = $this->runBackgroundProc( $cmd );
$this->output( "$runingJobsCount existing job runners,
Check for new transcode jobs: " );
} else {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs