Merge branch 'main' into add-fasthttp-logger

This commit is contained in:
Gusted 2022-07-03 14:17:12 +02:00
commit c29d12374f
No known key found for this signature in database
GPG key ID: FD821B732837125F

View file

@ -29,7 +29,6 @@ func SetupServer(handler fasthttp.RequestHandler) *fasthttp.Server {
NoDefaultServerHeader: true,
NoDefaultDate: true,
ReadTimeout: 30 * time.Second, // needs to be this high for ACME certificates with ZeroSSL & HTTP-01 challenge
Concurrency: 1024 * 32, // TODO: adjust bottlenecks for best performance with Gitea!
Logger: fasthttpLogger{},
}
}