diff options
-rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -238,6 +238,7 @@ func generatorMetrics(ctx context.Context, opts options.Options, nextLine *line. case <-metrics.C: currLine := nextLine.Num() now := time.Now().Unix() + str := fmt.Sprintf(" Current rate: %.1f sites/s\n", float64(currLine-prevLine)/float64(now-prevTime)) str += fmt.Sprintf(" Average rate: %.1f sites/s\n", float64(currLine)/float64(now-startTime)) str += fmt.Sprintf(" Next line: %d", currLine) |