1
1
Fork 0

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
commit 973ece09c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}