From 8315130a75c8f411f76134b6205a017409583d50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 21 Apr 2016 22:30:50 +0200 Subject: Display entries number for each category --- app/config/services.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/config') diff --git a/app/config/services.yml b/app/config/services.yml index 480408d9..95b8f26f 100644 --- a/app/config/services.yml +++ b/app/config/services.yml @@ -16,6 +16,9 @@ services: wallabag.twig_extension: class: Wallabag\CoreBundle\Twig\WallabagExtension public: false + arguments: + - "@wallabag_core.entry_repository" + - "@security.token_storage" tags: - { name: twig.extension } -- cgit v1.2.3 From b3f4a11a81b520b8dcc2bcebeeafea2cc0338a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sat, 3 Sep 2016 14:02:50 +0200 Subject: Store cache lifetime in config --- app/config/config.yml | 1 + app/config/config_dev.yml | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'app/config') diff --git a/app/config/config.yml b/app/config/config.yml index 80754393..eb53fc5d 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -49,6 +49,7 @@ wallabag_core: language: en rss_limit: 50 reading_speed: 1 + cache_lifetime: 10 wallabag_import: allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] diff --git a/app/config/config_dev.yml b/app/config/config_dev.yml index 77840682..3b67d8f6 100644 --- a/app/config/config_dev.yml +++ b/app/config/config_dev.yml @@ -40,3 +40,11 @@ swiftmailer: transport: smtp host: 'localhost' port: 1025 + +# If you want to use cache for queries used in WallabagExtension +# Uncomment the following lines +#doctrine: +# orm: +# metadata_cache_driver: apcu +# result_cache_driver: apcu +# query_cache_driver: apcu -- cgit v1.2.3