This commit is contained in:
boufni95 2025-01-09 17:54:20 +00:00
parent be19204f6c
commit 95dba81d77
2 changed files with 1 additions and 1 deletions

View file

@ -87,6 +87,7 @@ export default class Handler {
}
for (let i = last24h.length; i >= 0; i--) {
const e = last24h[i]
console.log(e)
if (e.ts < stats.past24h.from_unix) {
break
}

View file

@ -60,7 +60,6 @@ export default class {
}
pushToCache = (ok: boolean) => {
console.log("pushing to cache", ok)
const now = Math.floor(Date.now() / 1000)
this.rotateCache(now)
if (this.last24hCache.length === 0) {