diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-01-22 08:21:38 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-01-22 08:21:38 +0300 |
commit | 01ceef6f0d5438e8e9eb8ddc3fee05041961cbb3 (patch) | |
tree | 34cd18222584b3eacba8c7e372b0516ca98e850f /config | |
parent | 0ca15694631a31dc0c8e85cf9306e8d7bb5ec8ed (diff) |
Increase the time before an archive is considered outdated (#13830)
* Increase the time before an archive is considered outdated
Browser archiving is already slow enough so we shouldn't do it every 2.5minutes IMO. Personally, I would even set it to 30 or 60 minutes, not 15 minutes like in this PR.
This improves the performance at least a little when users don't set up cli archiving.
@mattab
* fix couple tests
Diffstat (limited to 'config')
-rw-r--r-- | config/global.ini.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/global.ini.php b/config/global.ini.php index f9cd03491f..06e2c1b186 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -316,7 +316,7 @@ default_period = day ; Time in seconds after which an archive will be computed again. This setting is used only for today's statistics. ; 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 = 150 +time_before_today_archive_considered_outdated = 900 ; Time in seconds after which an archive will be computed again. This setting is used only for week's statistics. ; If set to "-1" (default), it will fall back to the UI setting under "General settings" unless enable_general_settings_admin=0 |