From 751b702a552f1cfc6b8afa788cdd55ff75265f60 Mon Sep 17 00:00:00 2001 From: MICHAEL JACKSON Date: Wed, 24 May 2017 20:43:59 -0700 Subject: [PATCH] Run hourly/daily analytics more often --- workers/ingest-stats.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workers/ingest-stats.js b/workers/ingest-stats.js index 854cf6f..5a94210 100644 --- a/workers/ingest-stats.js +++ b/workers/ingest-stats.js @@ -289,8 +289,8 @@ const startZones = (zones) => { takePerDayTurn() setInterval(takePerMinuteTurn, oneMinute) - setInterval(takePerHourTurn, oneHour) - setInterval(takePerDayTurn, oneDay / 2) + setInterval(takePerHourTurn, oneHour / 2) + setInterval(takePerDayTurn, oneHour / 2) } Promise.all(DomainNames.map(getZones)).then(results => {