Comment Optimize Tables
This feature is not useful each time you start ManiaControl and put several tables locks in the database when you have several ManiaControl on the same database
This commit is contained in:
parent
9c256643fa
commit
0a607c6707
@ -55,7 +55,7 @@ class Database implements TimerListener {
|
|||||||
$this->getMysqli()->set_charset("utf8");
|
$this->getMysqli()->set_charset("utf8");
|
||||||
|
|
||||||
$this->initDatabase();
|
$this->initDatabase();
|
||||||
$this->optimizeTables();
|
// $this->optimizeTables();
|
||||||
|
|
||||||
// Register Method which checks the Database Connection every 5 seconds
|
// Register Method which checks the Database Connection every 5 seconds
|
||||||
$this->maniaControl->getTimerManager()->registerTimerListening($this, 'checkConnection', 5000);
|
$this->maniaControl->getTimerManager()->registerTimerListening($this, 'checkConnection', 5000);
|
||||||
|
Loading…
Reference in New Issue
Block a user