From a3a48e1a49c1b87af33f3708054980b3172fd173 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 29 May 2020 13:39:16 -0700 Subject: [PATCH] poll for updates a bit more often --- src/cron.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cron.js b/src/cron.js index d8e035d3c..ee9a07fd1 100644 --- a/src/cron.js +++ b/src/cron.js @@ -91,13 +91,13 @@ function startJobs(callback) { }); gJobs.boxUpdateCheckerJob = new CronJob({ - cronTime: '00 ' + randomMinute + ' 23 * * *', // once an day + cronTime: '00 ' + randomMinute + ' 1,3,5,21,23 * * *', // 5 times onTick: () => updateChecker.checkBoxUpdates({ automatic: true }, NOOP_CALLBACK), start: true }); gJobs.appUpdateChecker = new CronJob({ - cronTime: '00 ' + randomMinute + ' 22 * * *', // once an day + cronTime: '00 ' + randomMinute + ' 2,4,6,20,22 * * *', // 5 times onTick: () => updateChecker.checkAppUpdates({ automatic: true }, NOOP_CALLBACK), start: true });