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.
This commit is contained in:
Nick Martin
2014-10-21 22:36:44 -07:00
parent b71d2751e5
commit f064c2d03f

View File

@@ -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.)