]> git.mxchange.org Git - friendica.git/commitdiff
Maybe it would take too long to optimize the photo table on larger systems
authorMichael Vogel <icarus@dabo.de>
Sat, 28 Nov 2015 13:35:59 +0000 (14:35 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 28 Nov 2015 13:35:59 +0000 (14:35 +0100)
include/cron.php

index 46d56f077e63ba545da8f44b6d230224ad29d994..7927769de829b7dd06baca0638fa297ea2f70daf 100644 (file)
@@ -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());
        }