lowered batching to 500ms

This commit is contained in:
Miodec 2022-03-14 02:02:44 +01:00
parent f73b513e88
commit e68d9ece36

View file

@ -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
);
}
}