mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2026-02-06 08:05:51 +08:00
[统计]记录流量(以5分钟作为间隔)
This commit is contained in:
@@ -469,13 +469,14 @@ func (this *NodeDAO) ComposeNodeConfig(nodeId int64) (*nodeconfigs.NodeConfig, e
|
||||
}
|
||||
|
||||
config := &nodeconfigs.NodeConfig{
|
||||
Id: int64(node.Id),
|
||||
NodeId: node.UniqueId,
|
||||
IsOn: node.IsOn == 1,
|
||||
Servers: nil,
|
||||
Version: int64(node.Version),
|
||||
Name: node.Name,
|
||||
MaxCPU: types.Int32(node.MaxCPU),
|
||||
Id: int64(node.Id),
|
||||
NodeId: node.UniqueId,
|
||||
IsOn: node.IsOn == 1,
|
||||
Servers: nil,
|
||||
Version: int64(node.Version),
|
||||
Name: node.Name,
|
||||
MaxCPU: types.Int32(node.MaxCPU),
|
||||
RegionId: int64(node.RegionId),
|
||||
}
|
||||
|
||||
// 获取所有的服务
|
||||
|
||||
Reference in New Issue
Block a user