Fiber version
v1.14.1, v1.14.2
Issue description
Using the logger middleware causes application cpu usage to immediately rise to 20%
downgrading to 1.13.3 resolves this
System specs
OS: Linux
Distro: Ubuntu 20.04
Go version: go1.14.3 linux/amd64
Was reproduced by someone else on Windows 10 using Ubuntu 20.04 via WSL
Code snippet
package main
import (
"github.com/gofiber/fiber"
"github.com/gofiber/fiber/middleware"
)
func main() {
app := fiber.New()
app.Use(middleware.Logger())
app.Get("/", func(c *fiber.Ctx) {
c.Send("Hello, World 馃憢!")
})
app.Listen(3000)
}
Thanks for opening your first issue here! 馃帀 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord
Thnx for the report, expect a hotfix this weekend 馃憤
Fixed in v1.14.3
Most helpful comment
Thnx for the report, expect a hotfix this weekend 馃憤