mirror of
https://github.com/friendica/friendica
synced 2025-04-23 05:50:11 +00:00
Workers can now be started exclusively from the daemon and other workers
This commit is contained in:
parent
69300291f0
commit
28f8beebfc
3 changed files with 125 additions and 63 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