Maybe it would take too long to optimize the photo table on larger systems

This commit is contained in:
Michael Vogel 2015-11-28 14:35:59 +01:00
parent c3068c8925
commit a34dbf76a4

View File

@ -194,8 +194,8 @@ function cron_run(&$argv, &$argc){
q("OPTIMIZE TABLE `session`"); q("OPTIMIZE TABLE `session`");
q("OPTIMIZE TABLE `config`"); q("OPTIMIZE TABLE `config`");
q("OPTIMIZE TABLE `pconfig`"); q("OPTIMIZE TABLE `pconfig`");
q("OPTIMIZE TABLE `photo`");
q("OPTIMIZE TABLE `workerqueue`"); q("OPTIMIZE TABLE `workerqueue`");
//q("OPTIMIZE TABLE `photo`"); // Could take too long
set_config('system','cache_last_cleared', time()); set_config('system','cache_last_cleared', time());
} }