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