Commit 94343144 authored by Johannes Zellner's avatar Johannes Zellner

Only poll every hour instead of every 5 minutes

parent 182f3a98
......@@ -41,8 +41,8 @@ function run() {
sendNotifications(function (error) {
if (error) console.error(error);
// just keep polling for good every 5 minutes
setTimeout(run, 5 * 60 * 1000);
// just keep polling for good every hour
setTimeout(run, 60 * 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