diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-09-29 04:08:16 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-09-29 04:08:16 +0300 |
commit | 3b71fe2782cb8540c42761a0651e8776a5c34da2 (patch) | |
tree | bdb0a465811945cca28e5b8f6ba094120614b9f1 /core | |
parent | c8a5a17cecfde1de49f0f0c3c81630303dd7b29e (diff) |
TTL: Time to live for cache files, in seconds. Default to 60 minutes
Diffstat (limited to 'core')
-rw-r--r-- | core/Tracker/TableLogAction/Cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Tracker/TableLogAction/Cache.php b/core/Tracker/TableLogAction/Cache.php index 1c386e8e21..6d803deb85 100644 --- a/core/Tracker/TableLogAction/Cache.php +++ b/core/Tracker/TableLogAction/Cache.php @@ -42,7 +42,7 @@ class Cache { $this->isEnabled = (bool)Config::getInstance()->General['enable_segments_subquery_cache']; $this->limitActionIds = Config::getInstance()->General['segments_subquery_cache_limit']; - $this->lifetime = 60 * 10; + $this->lifetime = Config::getInstance()->General['segments_subquery_cache_ttl']; $this->logger = StaticContainer::get('Psr\Log\LoggerInterface'); } |