Merge pull request #5157 from annando/daemon
Workers can now be started exclusively from the daemon and other workers
This commit is contained in:
commit
973ece09c5
6 changed files with 236 additions and 127 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue