Moving from DBA to Database
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user