Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/survey_server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-08-08 14:32:16 +0300
committerBjoern Schiessle <bjoern@schiessle.org>2016-08-08 14:32:16 +0300
commitb3345cd7cde97b6f45593ee157472c4b32eb1581 (patch)
tree77a4a3948d2e90fa927f0589a3c98d6bdedebce0
parent829e2dc69529ac6c7f8a3766a85dd0e7ba3b9e41 (diff)
fix interval
-rw-r--r--lib/BackgroundJobs/ComputeStatistics.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/BackgroundJobs/ComputeStatistics.php b/lib/BackgroundJobs/ComputeStatistics.php
index adf3f6b..44ca2e9 100644
--- a/lib/BackgroundJobs/ComputeStatistics.php
+++ b/lib/BackgroundJobs/ComputeStatistics.php
@@ -50,8 +50,7 @@ class ComputeStatistics extends TimedJob {
$this->connection = $connection ? $connection : \OC::$server->getDatabaseConnection();
$this->config = $config = $config ? $config : \OC::$server->getConfig();
$this->evaluateStatistics = $evaluateStatistics ? $evaluateStatistics : new EvaluateStatistics();
- //$this->setInterval(24 * 60 * 60);
- $this->setInterval(1);
+ $this->setInterval(24 * 60 * 60);
}
protected function run($argument) {