From a9d05bdd84100a89f1eb4a5a6d7161aa073cdbf0 Mon Sep 17 00:00:00 2001 From: sent Date: Tue, 20 May 2025 22:12:50 -0700 Subject: [PATCH] Update --- index.mjs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/index.mjs b/index.mjs index 70708854..89b02bea 100644 --- a/index.mjs +++ b/index.mjs @@ -8,7 +8,6 @@ import express from "express"; import { createServer } from "http"; import compression from "compression"; import WebSocket from "ws"; -import { LRUCache } from "lru-cache"; import { baremuxPath } from "@mercuryworkshop/bare-mux/node"; import { epoxyPath } from "@mercuryworkshop/epoxy-transport"; import { libcurlPath } from "@mercuryworkshop/libcurl-transport"; @@ -63,12 +62,6 @@ if (global.gc) { import './others/scaler.mjs'; import './others/warmup.mjs'; -const cache = new LRUCache({ - max: 1000, - ttl: 4 * 24 * 60 * 60 * 1000, - allowStale: false, -}); - const port = parseInt(process.env.PORT || "3000", 10); function logInfo(msg) { console.info(`[~] ${msg}`); }