From e66cbc2ad9d7ff7a99f9807467be68518a956be5 Mon Sep 17 00:00:00 2001 From: "Aratz M. Lasa" Date: Fri, 20 Jan 2023 14:40:05 +0100 Subject: [PATCH] change precision to ms (#76) --- pkg/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/service.go b/pkg/service.go index bb530624..e8510d2f 100644 --- a/pkg/service.go +++ b/pkg/service.go @@ -119,7 +119,7 @@ func (s *Service) RunBeacon(ctx context.Context, client BeaconClient) error { "numDuties": len(duties), "numKnownValidators": len(validators), "knownValidatorsUpdateTime": s.knownValidatorsUpdateTime(), - "processingTimeMs": time.Since(t), + "processingTimeMs": time.Since(t).Milliseconds(), }).Debug("processed new slot") } }