Commit d5b37e0c authored by Johannes Zellner's avatar Johannes Zellner

Only check for releases every 5 min

parent 9de33a25
......@@ -41,8 +41,8 @@ function run() {
sendNotifications(function (error) {
if (error) console.error(error);
// just keep polling for good
setTimeout(run, 60 * 1000);
// just keep polling for good every 5 minutes
setTimeout(run, 5 * 60 * 1000);
tasksActive = false;
debug('run: done');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment