Update SplatNet data more frequently

This will help situations where SplatNet data is lagged or temporarily unavailable.
This commit is contained in:
Matt Isenhower 2022-09-28 21:25:16 -04:00
parent 1cd4e3a137
commit e1aa766cb4

View File

@ -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);