Maybe it would take too long to optimize the photo table on larger systems
This commit is contained in:
parent
c3068c8925
commit
a34dbf76a4
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue