mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Close the database
This commit is contained in:
parent
360614d2cf
commit
12fac6e089
1 changed files with 2 additions and 0 deletions
|
@ -192,6 +192,8 @@ class Cron
|
|||
}
|
||||
}
|
||||
|
||||
DBA::close($deliveries);
|
||||
|
||||
// Optimizing this table only last seconds
|
||||
if (DI::config()->get('system', 'optimize_tables')) {
|
||||
Logger::info('Optimize start');
|
||||
|
|
Loading…
Reference in a new issue