From c9c906769abbaa22b86655f48b662ffe13a9c5b3 Mon Sep 17 00:00:00 2001 From: quacumque <43530070+0x009922@users.noreply.github.com> Date: Tue, 23 Jul 2024 17:31:09 +0900 Subject: [PATCH] fix: 24 hours, not minutes --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index c7a46a4..aa202d8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -41,7 +41,7 @@ const api = new Api({ }); // 24 hours -const CACHE_TTL = 60_000 * 24; +const CACHE_TTL = 60_000 * 60 * 24; class State { #data: null | { matrix: Matrix; lastUpdated: Date } = null;