X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2FJobQueueFederated.php;h=7f3b2b1d59493e734bf8304f536a5e543d1b6284;hb=a7e147b7ee64830788a67779e2d8137017c0e919;hp=118b0f9525fa64de22559a58f2f68fc195729e29;hpb=220bda9175a18458449e9d754fb48830c1f76f25;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/JobQueueFederated.php b/includes/jobqueue/JobQueueFederated.php index 118b0f9525..7f3b2b1d59 100644 --- a/includes/jobqueue/JobQueueFederated.php +++ b/includes/jobqueue/JobQueueFederated.php @@ -187,7 +187,7 @@ class JobQueueFederated extends JobQueue { // phpcs:ignore Generic.CodeAnalysis.ForLoopWithTestFunctionCall for ( $i = $this->maxPartitionsTry; $i > 0 && count( $jobsLeft ); --$i ) { try { - $partitionRing->getLiveRing(); + $partitionRing->getLiveLocationWeights(); } catch ( UnexpectedValueException $e ) { break; // all servers down; nothing to insert to }