Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2015-09-29 04:08:16 +0300
committermattab <matthieu.aubry@gmail.com>2015-09-29 04:08:16 +0300
commit3b71fe2782cb8540c42761a0651e8776a5c34da2 (patch)
treebdb0a465811945cca28e5b8f6ba094120614b9f1 /core
parentc8a5a17cecfde1de49f0f0c3c81630303dd7b29e (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.php2
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');
}