mirror of
https://github.com/hibiken/asynq.git
synced 2024-12-27 00:02:19 +08:00
Fix history command
This commit is contained in:
parent
5f06c308f0
commit
e8fdbc5a72
@ -63,7 +63,7 @@ func printDailyStats(stats []*asynq.DailyStats) {
|
|||||||
} else {
|
} else {
|
||||||
errrate = fmt.Sprintf("%.2f%%", float64(s.Failed)/float64(s.Processed)*100)
|
errrate = fmt.Sprintf("%.2f%%", float64(s.Failed)/float64(s.Processed)*100)
|
||||||
}
|
}
|
||||||
fmt.Fprintf(tw, format, s.Time.Format("2006-01-02"), s.Processed, s.Failed, errrate)
|
fmt.Fprintf(tw, format, s.Date.Format("2006-01-02"), s.Processed, s.Failed, errrate)
|
||||||
}
|
}
|
||||||
tw.Flush()
|
tw.Flush()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user