Maybe it would take too long to optimize the photo table on larger systems
This commit is contained in:
parent
c3068c8925
commit
a34dbf76a4
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user