mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 17:14:42 +01:00
isolate .net specific methods in model project
This commit is contained in:
@@ -169,8 +169,8 @@ namespace MediaBrowser.Common.Implementations.Updates
|
||||
{
|
||||
// Let dev users get results more often for testing purposes
|
||||
var cacheLength = _config.CommonConfiguration.SystemUpdateLevel == PackageVersionClass.Dev
|
||||
? TimeSpan.FromMinutes(5)
|
||||
: TimeSpan.FromHours(12);
|
||||
? TimeSpan.FromMinutes(3)
|
||||
: TimeSpan.FromHours(4);
|
||||
|
||||
if ((DateTime.UtcNow - _lastPackageListResult.Item2) < cacheLength)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user