mirror of
https://github.com/Mibew/mibew.git
synced 2025-04-28 17:16:41 +03:00
Purge cache on cron
This commit is contained in:
parent
ba103d5636
commit
022fe7d6f4
@ -49,6 +49,9 @@ class CronController extends AbstractController
|
|||||||
|
|
||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
|
|
||||||
|
// Remove stale cached items
|
||||||
|
$this->getCache()->purge();
|
||||||
|
|
||||||
// Run cron jobs of the core
|
// Run cron jobs of the core
|
||||||
calculate_thread_statistics();
|
calculate_thread_statistics();
|
||||||
calculate_operator_statistics();
|
calculate_operator_statistics();
|
||||||
|
Loading…
Reference in New Issue
Block a user