Skip to content

Commit

Permalink
finer resolution on pingrtt time (milliseconds => nanoseconds)
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Nov 2, 2024
1 parent 0e5cf02 commit 2aeb341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/zetaclientd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func start(_ *cobra.Command, _ []string) error {
pingRTT[p] = -1 // RTT -1 indicate ping error
return
}
pingRTT[p] = result.RTT.Milliseconds()
pingRTT[p] = result.RTT.Nanoseconds()
}(p)
}
wg.Wait()
Expand Down

0 comments on commit 2aeb341

Please sign in to comment.