Skip to content
Snippets Groups Projects
Commit 0f4587ad authored by m's avatar m
Browse files

less often demo cleaning

parent 081fdae5
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,10 @@ class PurgeService {
public function repeatedCleanings() {
$this->purgeOldPolls();
$this->cleanDemoPoll();
if (0 === time() % 10) {
$this->cleanDemoPoll();
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment