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 /src/Wallabag/CoreBundle/Resources | |
parent | 0b0233b1ec8208be47c76856a4e317673927b21e (diff) | |
download | wallabag-b3f4a11a81b520b8dcc2bcebeeafea2cc0338a70.tar.gz wallabag-b3f4a11a81b520b8dcc2bcebeeafea2cc0338a70.tar.zst wallabag-b3f4a11a81b520b8dcc2bcebeeafea2cc0338a70.zip |
Store cache lifetime in config
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/config/services.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index f8835198..b70d9b8c 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -81,6 +81,8 @@ services: | |||
81 | factory: [ "@doctrine.orm.default_entity_manager", getRepository ] | 81 | factory: [ "@doctrine.orm.default_entity_manager", getRepository ] |
82 | arguments: | 82 | arguments: |
83 | - WallabagCoreBundle:Entry | 83 | - WallabagCoreBundle:Entry |
84 | calls: | ||
85 | - [ setLifeTime, [ "%wallabag_core.cache_lifetime%" ] ] | ||
84 | 86 | ||
85 | wallabag_core.tag_repository: | 87 | wallabag_core.tag_repository: |
86 | class: Wallabag\CoreBundle\Repository\TagRepository | 88 | class: Wallabag\CoreBundle\Repository\TagRepository |