Commit 5a3c2e2d authored by ale's avatar ale

Use seconds, not nanoseconds, in status timestamps

parent 824b7544
Pipeline #2722 passed with stages
in 4 minutes and 42 seconds
......@@ -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()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment