From e1aa766cb4fa18b5c9b1c2b712d9d26b77609cc6 Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Wed, 28 Sep 2022 21:25:16 -0400 Subject: [PATCH] Update SplatNet data more frequently This will help situations where SplatNet data is lagged or temporarily unavailable. --- app/cron.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cron.mjs b/app/cron.mjs index 5f72616..ed0e42d 100644 --- a/app/cron.mjs +++ b/app/cron.mjs @@ -5,7 +5,7 @@ import { sendTweets } from "./twitter/index.mjs"; export default function() { new CronJob('5,20,35,50 * * * *', warmCaches, null, true); - new CronJob('10 0 * * * *', async () => { + new CronJob('10 0,1,2,5,10,15,30,45 * * * *', async () => { await updateAll(); await sendTweets(); }, null, true);