Skip to content
Snippets Groups Projects
Commit 5a3c2e2d authored by ale's avatar ale
Browse files

Use seconds, not nanoseconds, in status timestamps

parent 824b7544
No related branches found
No related tags found
1 merge request!1v2.0
......@@ -234,7 +234,7 @@ func (n *Node) getStatus() *pb.Status {
iceMounts, iceOk := n.ice.GetStatus()
ns := pb.Status{
Name: n.name,
Timestamp: uint64(time.Now().UTC().UnixNano()),
Timestamp: uint64(time.Now().UTC().Unix()),
IcecastOk: iceOk,
IcecastMounts: iceMounts,
CurBandwidth: int32(getCurrentBandwidthUsage()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment