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 2020-08-01 15:20:46 +02:00 committed by GitHub
parent 9c256643fa
commit 0a607c6707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ class Database implements TimerListener {
$this->getMysqli()->set_charset("utf8");
$this->initDatabase();
$this->optimizeTables();
// $this->optimizeTables();
// Register Method which checks the Database Connection every 5 seconds
$this->maniaControl->getTimerManager()->registerTimerListening($this, 'checkConnection', 5000);