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;