diff --git a/main.go b/main.go index 6e6fcc9..702658d 100644 --- a/main.go +++ b/main.go @@ -62,8 +62,11 @@ func main() { // Wait for the first proxy check to complete auditor.SugaredLogger.Info("Waiting for initial proxy check to complete...") wgFirstCheck.Wait() - duration := time.Since(startTime) // Calculate the duration - auditor.SugaredLogger.Infof("Initial proxy check completed in %v.", duration) + + d := time.Since(startTime) + truncated := d.Truncate(time.Millisecond) + + auditor.SugaredLogger.Infof("Initial proxy check completed in %v.", truncated) }() } else { auditor.SugaredLogger.Infof("ProxyCheckEnabled set to %t, skipping proxy checker initialization.", config.GlobalConfig.ProxyCheckEnabled)