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
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-04-08 04:58:01 +0300
committerdiosmosis <benaka@piwik.pro>2015-04-08 04:58:01 +0300
commit786592dbab20a84d8ff2892ad87a5dedb12b6ed8 (patch)
treed78b94c1e77952bfc615ecaa9ac259b34ba1099d /core/Tracker.php
parent5b82ed2406e4d61dee9dea0445a50d86b8bb1e18 (diff)
In tracker, run scheduled tasks via CliMulti, add tests for running scheduled tasks through tracker including test that ensures tracker won't fail if scheduled tasks fail, allow tests to override container config by setting a property in the testing environment file, and properly use TestingEnvironment in RequestCommand.
Diffstat (limited to 'core/Tracker.php')
-rw-r--r--core/Tracker.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Tracker.php b/core/Tracker.php
index ff5694e3a0..20b980baee 100644
--- a/core/Tracker.php
+++ b/core/Tracker.php
@@ -245,7 +245,9 @@ class Tracker
}
// Do not run scheduled tasks during tests
- TrackerConfig::setConfigValue('scheduled_tasks_min_interval', 0);
+ if (!defined('DEBUG_FORCE_SCHEDULED_TASKS')) {
+ TrackerConfig::setConfigValue('scheduled_tasks_min_interval', 0);
+ }
// if nothing found in _GET/_POST and we're doing a POST, assume bulk request. in which case,
// we have to bypass authentication