Skip to content

Commit

Permalink
Don't clear cache on restart
Browse files Browse the repository at this point in the history
  • Loading branch information
dispherical committed Aug 26, 2024
1 parent a0f1c08 commit d149e71
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ Array.prototype.random = function () {
await require("./utils/pull")({ app, client, prisma });
}, 3000)
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 });
});
Expand Down

0 comments on commit d149e71

Please sign in to comment.