From ec39325750e2f156c6348da1277ef37815e38eb3 Mon Sep 17 00:00:00 2001 From: sent Date: Mon, 12 May 2025 21:38:08 -0700 Subject: [PATCH] Forgot to define cache --- index.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/index.mjs b/index.mjs index 75e5fc88..659ff344 100644 --- a/index.mjs +++ b/index.mjs @@ -13,6 +13,7 @@ import { uvPath } from "@titaniumnetwork-dev/ultraviolet"; import wisp from "wisp-server-node"; import NodeCache from "node-cache"; +const cache = new NodeCache({ stdTTL: 345600, checkperiod: 3600 }); const port = parseInt(process.env.PORT || "3000", 10); cluster.schedulingPolicy = cluster.SCHED_RR;