lowered time precision, we dont need milliseconds on the progress trackers

master
cheetah 1 year ago
parent 159a87faf7
commit 4e82da5e61

@ -318,6 +318,10 @@ func modeIngress(folderPath string, skipN int) {
pw.SetUpdateFrequency(time.Millisecond * 100) pw.SetUpdateFrequency(time.Millisecond * 100)
pw.Style().Colors = progress.StyleColorsExample pw.Style().Colors = progress.StyleColorsExample
pw.Style().Options.PercentFormat = "%4.1f%%" pw.Style().Options.PercentFormat = "%4.1f%%"
pw.Style().Options.ETAPrecision = time.Second
pw.Style().Options.TimeDonePrecision = time.Second
pw.Style().Options.TimeInProgressPrecision = time.Second
pw.Style().Options.TimeOverallPrecision = time.Second
pw.Style().Visibility.ETA = true pw.Style().Visibility.ETA = true
pw.Style().Visibility.ETAOverall = true pw.Style().Visibility.ETAOverall = true
pw.Style().Visibility.Percentage = false pw.Style().Visibility.Percentage = false

Loading…
Cancel
Save