From: Michael Vogel Date: Sat, 28 Nov 2015 13:35:59 +0000 (+0100) Subject: Maybe it would take too long to optimize the photo table on larger systems X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a34dbf76a421b8094e3ed956fd80584355c35180;p=friendica.git Maybe it would take too long to optimize the photo table on larger systems --- diff --git a/include/cron.php b/include/cron.php index 46d56f077e..7927769de8 100644 --- a/include/cron.php +++ b/include/cron.php @@ -194,8 +194,8 @@ function cron_run(&$argv, &$argc){ q("OPTIMIZE TABLE `session`"); q("OPTIMIZE TABLE `config`"); q("OPTIMIZE TABLE `pconfig`"); - q("OPTIMIZE TABLE `photo`"); q("OPTIMIZE TABLE `workerqueue`"); + //q("OPTIMIZE TABLE `photo`"); // Could take too long set_config('system','cache_last_cleared', time()); }