mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-09 03:50:27 +08:00
节点状态上报时增加时间戳字段
This commit is contained in:
@@ -109,6 +109,7 @@ func (this *NodeStatusExecutor) update() {
|
||||
cacheSpaceTR.End()
|
||||
|
||||
status.UpdatedAt = time.Now().Unix()
|
||||
status.Timestamp = status.UpdatedAt
|
||||
|
||||
// 发送数据
|
||||
jsonData, err := json.Marshal(status)
|
||||
|
||||
Reference in New Issue
Block a user