From: Michael Date: Thu, 15 Oct 2020 07:34:21 +0000 (+0000) Subject: Move the repair functionality to the daily cron X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9704a9bf25b8b072c2b25fd0655a989172c099a7;p=friendica.git Move the repair functionality to the daily cron --- 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');