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 /tests/PHPUnit/Integration/ReleaseCheckListTest.php | |
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 'tests/PHPUnit/Integration/ReleaseCheckListTest.php')
-rw-r--r-- | tests/PHPUnit/Integration/ReleaseCheckListTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Integration/ReleaseCheckListTest.php b/tests/PHPUnit/Integration/ReleaseCheckListTest.php index b064062a2a..2f1b96bb76 100644 --- a/tests/PHPUnit/Integration/ReleaseCheckListTest.php +++ b/tests/PHPUnit/Integration/ReleaseCheckListTest.php @@ -140,7 +140,7 @@ class ReleaseCheckListTest extends \PHPUnit_Framework_TestCase $this->_checkEqual(array('Debug' => 'always_archive_data_day'), '0'); $this->_checkEqual(array('Debug' => 'always_archive_data_period'), '0'); $this->_checkEqual(array('Debug' => 'enable_sql_profiler'), '0'); - $this->_checkEqual(array('General' => 'time_before_today_archive_considered_outdated'), '150'); + $this->_checkEqual(array('General' => 'time_before_today_archive_considered_outdated'), '900'); $this->_checkEqual(array('General' => 'enable_browser_archiving_triggering'), '1'); $this->_checkEqual(array('General' => 'default_language'), 'en'); $this->_checkEqual(array('Tracker' => 'record_statistics'), '1'); |