namespace Wallabag\ImportBundle\Controller;
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
+use Symfony\Component\Routing\Annotation\Route;
class ImportController extends Controller
{
+ $this->getTotalMessageInRabbitQueue('chrome')
+ $this->getTotalMessageInRabbitQueue('instapaper')
+ $this->getTotalMessageInRabbitQueue('pinboard')
+ + $this->getTotalMessageInRabbitQueue('elcurator')
;
} catch (\Exception $e) {
$rabbitNotInstalled = true;
+ $redis->llen('wallabag.import.chrome')
+ $redis->llen('wallabag.import.instapaper')
+ $redis->llen('wallabag.import.pinboard')
+ + $redis->llen('wallabag.import.elcurator')
;
} catch (\Exception $e) {
$redisNotInstalled = true;