X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FnextJobDB.php;h=9b4d19438517c9cb4d412a7c9556a643864e5f92;hb=171313e2ab337fcdfa5d366784192a96bc55d007;hp=06ccccbb0fa5a5d35fc2e1247e9b503df9adc2f9;hpb=da42257e35682db692accabee6864e40a272243d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/nextJobDB.php b/maintenance/nextJobDB.php index 06ccccbb0f..9b4d194385 100644 --- a/maintenance/nextJobDB.php +++ b/maintenance/nextJobDB.php @@ -78,10 +78,6 @@ class NextJobDB extends Maintenance { } list( $type, $db ) = $candidates[mt_rand( 0, count( $candidates ) - 1 )]; - if ( JobQueueGroup::singleton( $db )->isQueueDeprioritized( $type ) ) { - $pendingDBs[$type] = array_diff( $pendingDBs[$type], array( $db ) ); - $again = true; - } } while ( $again ); if ( $this->hasOption( 'types' ) ) {