Skip to content

Commit

Permalink
style: update logger's comment (#2157)
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jin-gou committed Oct 17, 2022
1 parent d275091 commit 2b7a632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func New(config ...Config) fiber.Handler {
var timestamp atomic.Value
timestamp.Store(time.Now().In(cfg.timeZoneLocation).Format(cfg.TimeFormat))

// Update date/time every 750 milliseconds in a separate go routine
// Update date/time every 500 milliseconds in a separate go routine
if strings.Contains(cfg.Format, "${time}") {
go func() {
for {
Expand Down

0 comments on commit 2b7a632

Please sign in to comment.