less often demo cleaning
This commit is contained in:
parent
081fdae5f5
commit
0f4587adf8
@ -25,7 +25,10 @@ class PurgeService {
|
|||||||
|
|
||||||
public function repeatedCleanings() {
|
public function repeatedCleanings() {
|
||||||
$this->purgeOldPolls();
|
$this->purgeOldPolls();
|
||||||
$this->cleanDemoPoll();
|
|
||||||
|
if (0 === time() % 10) {
|
||||||
|
$this->cleanDemoPoll();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user