adjusted update staggering

pull/702/head
Luke Pulverenti 11 years ago
parent da0c386853
commit 3932f12ac5

@ -172,7 +172,7 @@ namespace MediaBrowser.Common.Implementations.Updates
{ {
// Let dev users get results more often for testing purposes // Let dev users get results more often for testing purposes
var cacheLength = _config.CommonConfiguration.SystemUpdateLevel == PackageVersionClass.Dev var cacheLength = _config.CommonConfiguration.SystemUpdateLevel == PackageVersionClass.Dev
? TimeSpan.FromMinutes(10) ? TimeSpan.FromHours(1)
: TimeSpan.FromHours(12); : TimeSpan.FromHours(12);
if ((DateTime.UtcNow - _lastPackageListResult.Item2) < cacheLength) if ((DateTime.UtcNow - _lastPackageListResult.Item2) < cacheLength)

Loading…
Cancel
Save