aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-08-12 15:09:13 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-08-12 15:09:13 -0400
commitcf350f3b7e3e82bf7863d426186044e92737ae27 (patch)
tree58998c7f142c2dae3424a6e15547c11bd1a1bb63 /Emby.Server.Implementations/ApplicationHost.cs
parentb7867214ef317bbf6502e53701a990ec5f13b645 (diff)
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);
}