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:
jonthekiller authored and GitHub committed 2020-08-01 15:20:46 +02:00
1 parent 9c256643fa
commit 0a607c6707
1 file changed
+1 -1
+1 -1
View File
@@ -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);