adjusted update staggering

This commit is contained in:
Luke Pulverenti 2013-09-03 16:23:57 -04:00
parent da0c386853
commit 3932f12ac5

View File

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