Skip to content

Commit

Permalink
Update RunJobs.php
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Dec 5, 2024
1 parent 44516ae commit f9b1aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/RunJobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

try {
$mediawiki = new MediaWiki();
$runner = new JobRunner();
$runner = MediaWikiServices::getInstance()->getJobRunner();
$response = $runner->run( [
'type' => isset( $_GET['type'] ) ? $_GET['type'] : false,
'maxJobs' => isset( $_GET['maxjobs'] ) ? $_GET['maxjobs'] : 5000,
Expand Down

0 comments on commit f9b1aaf

Please sign in to comment.