This commit is contained in:
zhaoke
2023-03-21 10:14:12 +08:00
parent 30dc9afb0a
commit 8c7414226c
+2 -1
View File
@@ -631,7 +631,7 @@ class zanodemodel extends model
if($host->status != 'online' || time() - strtotime($host->heartbeat) > 60)
{
$l->status = self::STATUS_SHUTOFF;
$l->status = $l->hostType == '' ? 'wait' : 'offline';
continue;
}
@@ -641,6 +641,7 @@ class zanodemodel extends model
}
}
}
var_dump($list);die;
return $list;
}