mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-20 04:26:28 +08:00
increased config batching to 1 second
This commit is contained in:
parent
e68d9ece36
commit
c2ff0c42c5
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 : 500
|
||||
window.location.hostname === "localhost" ? 0 : 1000
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue