From c26d930b91e207503bed630b0d60b85984ade111 Mon Sep 17 00:00:00 2001 From: Ryahn Date: Fri, 31 Jan 2025 10:03:28 -0500 Subject: [PATCH] Update cleanup cron from 1h > 10m --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index ebd7668..eac292f 100644 --- a/app.js +++ b/app.js @@ -68,7 +68,7 @@ app.get('/twitter-card.svg', (req, res) => { }); // Schedule cleanup job -cron.schedule('0 * * * *', async () => { +cron.schedule('*/10 * * * *', async () => { try { await MessageService.cleanup(); console.log('Daily cleanup completed');