Added sitemaps

This commit is contained in:
2017-11-18 16:01:27 +01:00
parent 54b08453dc
commit 567aff76f9
2 changed files with 39 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func logRequest(ctx *aero.Context, responseTime time.Duration) {
// Notify us about long requests.
// However ignore requests under /auth/ because those depend on 3rd party servers.
if responseTime >= 200*time.Millisecond && !strings.HasPrefix(ctx.URI(), "/auth/") {
if responseTime >= 300*time.Millisecond && !strings.HasPrefix(ctx.URI(), "/auth/") {
err.Error("Long response time", ip, hostName, responseTimeString, ctx.StatusCode, ctx.URI())
}
}