Forgot to define cache

This commit is contained in:
sent 2025-05-12 21:38:08 -07:00
parent 6b19e122d4
commit ec39325750

View File

@ -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;