Merge "Added reentrant lock support to BagOStuff"
[lhc/web/wiklou.git] / includes / libs / HashRing.php
index 2022b22..e7a1099 100644 (file)
@@ -223,8 +223,8 @@ class HashRing {
         * @return array List of locations
         * @throws UnexpectedValueException
         */
-       public function getLiveLocations( $item ) {
-               return $this->getLiveRing()->getLocations( $item );
+       public function getLiveLocations( $item, $limit ) {
+               return $this->getLiveRing()->getLocations( $item, $limit );
        }
 
        /**