diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-09-03 14:02:50 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-09-03 14:02:50 +0200 |
commit | b3f4a11a81b520b8dcc2bcebeeafea2cc0338a70 (patch) | |
tree | f9364b610019ddb41aad995e8c5e5c8b39faf1ca /app/config | |
parent | 0b0233b1ec8208be47c76856a4e317673927b21e (diff) | |
download | wallabag-b3f4a11a81b520b8dcc2bcebeeafea2cc0338a70.tar.gz wallabag-b3f4a11a81b520b8dcc2bcebeeafea2cc0338a70.tar.zst wallabag-b3f4a11a81b520b8dcc2bcebeeafea2cc0338a70.zip |
Store cache lifetime in config
Diffstat (limited to 'app/config')
-rw-r--r-- | app/config/config.yml | 1 | ||||
-rw-r--r-- | app/config/config_dev.yml | 8 |
2 files changed, 9 insertions, 0 deletions
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: | |||
49 | language: en | 49 | language: en |
50 | rss_limit: 50 | 50 | rss_limit: 50 |
51 | reading_speed: 1 | 51 | reading_speed: 1 |
52 | cache_lifetime: 10 | ||
52 | 53 | ||
53 | wallabag_import: | 54 | wallabag_import: |
54 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] | 55 | 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: | |||
40 | transport: smtp | 40 | transport: smtp |
41 | host: 'localhost' | 41 | host: 'localhost' |
42 | port: 1025 | 42 | port: 1025 |
43 | |||
44 | # If you want to use cache for queries used in WallabagExtension | ||
45 | # Uncomment the following lines | ||
46 | #doctrine: | ||
47 | # orm: | ||
48 | # metadata_cache_driver: apcu | ||
49 | # result_cache_driver: apcu | ||
50 | # query_cache_driver: apcu | ||