stop logging slow fingerprints

This commit is contained in:
Thibault Duplessis 2015-08-13 13:08:23 +02:00
parent 0c5ec88f92
commit d50f3d5bd2

View file

@ -157,7 +157,7 @@ object Auth extends LilaController {
def setFingerprint(hash: String, ms: Int) = Auth { ctx =>
me =>
if (ms > 1000) logwarn(s"[Fingerprint] ${me.username} $ms ms / ${~HTTPRequest.userAgent(ctx.req)}")
// if (ms > 1000) logwarn(s"[Fingerprint] ${me.username} $ms ms / ${~HTTPRequest.userAgent(ctx.req)}")
api.setFingerprint(ctx.req, hash) inject Ok
}