Ignore 404s

This commit is contained in:
Neil Alexander 2020-09-21 13:04:00 +01:00
parent 722fb3519d
commit d923553939
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -73,10 +73,6 @@ func failBlacklistableError(err error, stats *statistics.ServerStatistics) (unti
if mxerr.Code == 401 { // invalid signature in X-Matrix header
return stats.Failure()
}
if mxerr.Code == 404 {
// TODO: can any of the endpoints called in this file return genuine 404s?
return stats.Failure()
}
if mxerr.Code >= 500 && mxerr.Code < 600 { // internal server errors
return stats.Failure()
}