Skip to content
Snippets Groups Projects
Commit 3bed29a7 authored by aydreeihn's avatar aydreeihn
Browse files

Merge remote-tracking branch 'kevin/issue/optimize-lock-table' into features_prs/develop-next

parents 8a3c97b3 2c8729d1
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ class Cron { ...@@ -61,7 +61,7 @@ class Cron {
$chance = rand(1,2000); $chance = rand(1,2000);
switch ($chance) { switch ($chance) {
case 42: case 42:
@db_query('OPTIMIZE TABLE '.LOCK_TABLE); @db_query('OPTIMIZE TABLE `'.LOCK_TABLE.'`');
break; break;
case 242: case 242:
@db_query('OPTIMIZE TABLE '.SYSLOG_TABLE); @db_query('OPTIMIZE TABLE '.SYSLOG_TABLE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment