Moving from DBA to Database

This commit is contained in:
Philipp Holzer
2019-06-07 00:10:45 +02:00
parent 5e4ace271b
commit 082634adbc
11 changed files with 1778 additions and 1211 deletions

View File

@@ -144,7 +144,7 @@ if (!$foreground) {
file_put_contents($pidfile, $pid);
// We lose the database connection upon forking
Factory\DBFactory::init($a->getConfigCache(), $a->getProfiler(), $_SERVER);
$a->getDatabase()->reconnect();
}
Config::set('system', 'worker_daemon_mode', true);