protected function doGetSize() {
$conn = $this->getConnection();
try {
- return $conn->lSize( $this->getQueueKey( 'l-unclaimed' ) );
+ return $conn->lLen( $this->getQueueKey( 'l-unclaimed' ) );
} catch ( RedisException $e ) {
throw $this->handleErrorAndMakeException( $conn, $e );
}
try {
$conn->multi( Redis::PIPELINE );
foreach ( $types as $type ) {
- $conn->lSize( $this->getQueueKey( 'l-unclaimed', $type ) );
+ $conn->lLen( $this->getQueueKey( 'l-unclaimed', $type ) );
}
$res = $conn->exec();
if ( is_array( $res ) ) {