increased config batching to 1 second

This commit is contained in:
Miodec 2022-03-14 22:43:57 +01:00
parent e68d9ece36
commit c2ff0c42c5

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 : 500
window.location.hostname === "localhost" ? 0 : 1000
);
}
}