mirror of
https://github.com/friendica/friendica
synced 2025-05-02 13:44:22 +02:00
Use optimized update statements
This commit is contained in:
parent
557d0e3aeb
commit
5be9c9dbaf
8 changed files with 83 additions and 51 deletions
|
@ -312,7 +312,7 @@ class Queue
|
|||
// Optimizing this table only last seconds
|
||||
if (DI::config()->get('system', 'optimize_tables')) {
|
||||
Logger::info('Optimize start');
|
||||
DBA::e("OPTIMIZE TABLE `inbox-entry`");
|
||||
DBA::optimizeTable('inbox-entry');
|
||||
Logger::info('Optimize end');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue