mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-26 07:44:01 +08:00
lowered batching to 500ms
This commit is contained in:
parent
f73b513e88
commit
e68d9ece36
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ async function saveToDatabase(key: keyof MonkeyTypes.Config): Promise<void> {
|
|||
clearTimeout(saveTimeout as NodeJS.Timeout);
|
||||
saveTimeout = null;
|
||||
},
|
||||
window.location.hostname === "localhost" ? 0 : 3000
|
||||
window.location.hostname === "localhost" ? 0 : 500
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue