aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-08-12 15:09:37 -0400
committerGitHub <noreply@github.com>2017-08-12 15:09:37 -0400
commitb0271c44c1a7cdbb570a1b6111bd91ba4cb4f74a (patch)
tree58998c7f142c2dae3424a6e15547c11bd1a1bb63 /Emby.Server.Implementations/ApplicationHost.cs
parent3237fd9e5e2a2879d0d48acc4c7e5c0f7b397c38 (diff)
parentcf350f3b7e3e82bf7863d426186044e92737ae27 (diff)
Merge pull request #2807 from MediaBrowser/dev
expand on hardware decoding options
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 9c69cc0fc..7f893d8f7 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -1590,14 +1590,10 @@ namespace Emby.Server.Implementations
/// <returns>Task{CheckForUpdateResult}.</returns>
public override async Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress)
{
- var cacheLength = TimeSpan.FromHours(3);
+ var cacheLength = TimeSpan.FromHours(1);
var updateLevel = SystemUpdateLevel;
- if (updateLevel == PackageVersionClass.Beta)
- {
- cacheLength = TimeSpan.FromHours(1);
- }
- else if (updateLevel == PackageVersionClass.Dev)
+ if (updateLevel != PackageVersionClass.Release)
{
cacheLength = TimeSpan.FromMinutes(5);
}