From 9704a9bf25b8b072c2b25fd0655a989172c099a7 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 15 Oct 2020 07:34:21 +0000 Subject: [PATCH] Move the repair functionality to the daily cron --- src/Worker/Cron.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php index 5e2a6a0695..90042e30f6 100644 --- a/src/Worker/Cron.php +++ b/src/Worker/Cron.php @@ -90,9 +90,6 @@ class Cron // Clear cache entries Worker::add(PRIORITY_LOW, 'ClearCache'); - // Repair entries in the database - Worker::add(PRIORITY_LOW, 'RepairDatabase'); - DI::config()->set('system', 'last_cron_hourly', time()); } @@ -108,6 +105,9 @@ class Cron Worker::add(PRIORITY_LOW, 'UpdateGServers'); + // Repair entries in the database + Worker::add(PRIORITY_LOW, 'RepairDatabase'); + Worker::add(PRIORITY_LOW, 'Expire'); Worker::add(PRIORITY_LOW, 'ExpirePosts');