less often demo cleaning
This commit is contained in:
parent
081fdae5f5
commit
0f4587adf8
@ -25,8 +25,11 @@ class PurgeService {
|
||||
|
||||
public function repeatedCleanings() {
|
||||
$this->purgeOldPolls();
|
||||
|
||||
if (0 === time() % 10) {
|
||||
$this->cleanDemoPoll();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This methode purges all old polls (the ones with end_date in past).
|
||||
|
Loading…
Reference in New Issue
Block a user