From a34dbf76a421b8094e3ed956fd80584355c35180 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 28 Nov 2015 14:35:59 +0100 Subject: [PATCH] Maybe it would take too long to optimize the photo table on larger systems --- include/cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }