From 5527aebacdd98bcaef889414c7e7350e3e4b3053 Mon Sep 17 00:00:00 2001
From: Thomas Steur <thomas.steur@googlemail.com>
Date: Mon, 1 Sep 2014 18:12:19 +0200
Subject: [PATCH] refs #6089 setting TTL to 150 seconds instead of 10 to not
 archive on nearly every request. Makes Piwik faster

---
 config/global.ini.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/config/global.ini.php b/config/global.ini.php
index 008d99cd3b..62552298cd 100644
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -204,10 +204,9 @@ default_day = yesterday
 default_period = day
 
 ; Time in seconds after which an archive will be computed again. This setting is used only for today's statistics.
-; Defaults to 10 seconds so that by default, Piwik provides real time reporting.
 ; This setting is overriden in the UI, under "General Settings".
 ; This setting is only used if it hasn't been overriden via the UI yet, or if enable_general_settings_admin=0
-time_before_today_archive_considered_outdated = 10
+time_before_today_archive_considered_outdated = 150
 
 ; This setting is overriden in the UI, under "General Settings".
 ; The default value is to allow browsers to trigger the Piwik archiving process.
-- 
GitLab