From f064c2d03fb063ef268582a46dfd66f4c6ea70a5 Mon Sep 17 00:00:00 2001 From: Nick Martin Date: Tue, 21 Oct 2014 22:36:44 -0700 Subject: [PATCH] Bump catalog update timer from 15min to 3hr. This should save load on the package server. The tradeoff is it makes the case in #2847 have a wider window to affect users. --- tools/run-updater.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/run-updater.js b/tools/run-updater.js index 10a78a88e5..95c78a121f 100644 --- a/tools/run-updater.js +++ b/tools/run-updater.js @@ -17,11 +17,11 @@ _.extend(Updater.prototype, { if (self.timer) throw new Error("already running?"); - // Check every 15 minutes. (Should not share buildmessage state with + // Check every 3 hours. (Should not share buildmessage state with // the main fiber.) self.timer = setInterval(fiberHelpers.inBareFiber(function () { self._check(); - }), 15 * 60 * 1000); + }), 3 * 60 * 60 * 1000); // Also start a check now, but don't block on it. (This should // not share buildmessage state with the main fiber.)