less often demo cleaning

This commit is contained in:
m 2018-04-15 23:30:40 +02:00
parent 081fdae5f5
commit 0f4587adf8

View File

@ -25,7 +25,10 @@ class PurgeService {
public function repeatedCleanings() { public function repeatedCleanings() {
$this->purgeOldPolls(); $this->purgeOldPolls();
$this->cleanDemoPoll();
if (0 === time() % 10) {
$this->cleanDemoPoll();
}
} }
/** /**