From 2aeb341b4c9db84f36073f502347c75e01234e0d Mon Sep 17 00:00:00 2001 From: brewmaster012 <88689859+brewmaster012@users.noreply.github.com> Date: Sat, 2 Nov 2024 00:53:07 -0500 Subject: [PATCH] finer resolution on pingrtt time (milliseconds => nanoseconds) --- cmd/zetaclientd/start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/zetaclientd/start.go b/cmd/zetaclientd/start.go index fb2b54dfd0..fb3591c8e1 100644 --- a/cmd/zetaclientd/start.go +++ b/cmd/zetaclientd/start.go @@ -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()