Merge pull request #5157 from annando/daemon

Workers can now be started exclusively from the daemon and other workers
This commit is contained in:
Hypolite Petovan
2018-06-03 12:18:47 -04:00
committed by GitHub
6 changed files with 236 additions and 127 deletions

View File

@@ -26,7 +26,7 @@ class dba {
private static $relation = [];
public static function connect($serveraddr, $user, $pass, $db) {
if (!is_null(self::$db)) {
if (!is_null(self::$db) && self::connected()) {
return true;
}