X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2FJobQueueFederated.php;h=e74331113d4cf822fcc6bfd669247b08a168a656;hb=1420c1d41b13bdc7edf601f0e8a8ab0097b8d099;hp=7fdd617ab361a6591de34a4192ff5f2ba1bc3ab0;hpb=942446575486057b38e186a8f5599a645758b702;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/JobQueueFederated.php b/includes/jobqueue/JobQueueFederated.php index 7fdd617ab3..e74331113d 100644 --- a/includes/jobqueue/JobQueueFederated.php +++ b/includes/jobqueue/JobQueueFederated.php @@ -28,7 +28,7 @@ * For example, one can set $wgJobTypeConf['refreshLinks'] to point to a * JobQueueFederated instance, which itself would consist of three JobQueueRedis * instances, each using their own redis server. This would allow for the jobs - * to be split (evenly or based on weights) accross multiple servers if a single + * to be split (evenly or based on weights) across multiple servers if a single * server becomes impractical or expensive. Different JobQueue classes can be mixed. * * The basic queue configuration (e.g. "order", "claimTTL") of a federated queue @@ -202,7 +202,7 @@ class JobQueueFederated extends JobQueue { /** * @param array $jobs - * @param HashRing $partitionRing + * @param HashRing &$partitionRing * @param int $flags * @throws JobQueueError * @return array List of Job object that could not be inserted