JS HAS CONST

This commit is contained in:
ITOH
2021-11-14 17:38:19 +01:00
parent 13447eceaa
commit b0a999c162

View File

@@ -116,8 +116,8 @@ export function createCache(
}
setInterval(() => {
let values = cache.unrepliedInteractions.values();
let now = Date.now();
const values = cache.unrepliedInteractions.values();
const now = Date.now();
for (let val; (val = values.next().value); ) {
if ((val >> 22n) + 1420071300000n < now) {
cache.unrepliedInteractions.delete(val);