adjusted update staggering
This commit is contained in:
parent
da0c386853
commit
3932f12ac5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user