Skip to content
Extraits de code Groupes Projets
Valider 8f81ea2f rédigé par Fabian Becker's avatar Fabian Becker
Parcourir les fichiers

If record_statistics = 0 we should not run scheduled tasks!

http://piwik.org/faq/how-to/#faq_111 - states that when record_statistics = 0 no connection to the DB is made, running scheduled tasks will connect to the db.
parent 930ec650
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -268,7 +268,7 @@ class Piwik_Tracker
// don't run scheduled tasks in CLI mode from Tracker, this is the case
// where we bulk load logs & don't want to lose time with tasks
if(!Piwik_Common::isPhpCliMode()
&& !$this->authenticated)
&& !$this->authenticated && $this->getState() != self::STATE_LOGGING_DISABLE)
{
self::runScheduledTasks($now = $this->getCurrentTimestamp());
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter