mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-03 22:15:07 +08:00
chore: log only up to 2 minute tests
This commit is contained in:
parent
c9986bbc4c
commit
c4590a2939
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ export async function addResult(
|
|||
const completedEvent = req.body.result;
|
||||
completedEvent.uid = uid;
|
||||
|
||||
if (user.suspicious) {
|
||||
if (user.suspicious && completedEvent.testDuration <= 120) {
|
||||
await addImportantLog("suspicious_user_result", completedEvent, uid);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue