From 1f072aafae230645d648caf6eb823e8eb6214608 Mon Sep 17 00:00:00 2001 From: David M <62346025+dispherical@users.noreply.github.com> Date: Sat, 9 Nov 2024 21:10:46 -0500 Subject: [PATCH] move deletions to length based --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index abfab83..63491df 100644 --- a/index.js +++ b/index.js @@ -168,7 +168,6 @@ var activeConnections = []; await require("./utils/pull")({ app, client, prisma }); }, 1000 * 10) cron.schedule("0 0,12 * * *", async () => { - await client.del(`${process.env.INSTANCE_ID || "production"}.messageCache`); await require("./utils/redo")({ app, client, prisma }); await require("./utils/joinall")({ app, client, prisma }); });