From 614edab79f6fa8e04c07bd232dca68df9c773c34 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 3 Jan 2016 15:24:18 -0500 Subject: [PATCH] update the updater --- MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index 2420fb17d..385dc1d81 100644 --- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs +++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs @@ -1299,7 +1299,7 @@ namespace MediaBrowser.Server.Startup.Common /// The cancellation token. /// The progress. /// Task{CheckForUpdateResult}. - public override async Task CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress progress) + public override Task CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress progress) { var includePreRelease = false; var cacheLength = TimeSpan.FromHours(12); @@ -1323,8 +1323,8 @@ namespace MediaBrowser.Server.Startup.Common includePreRelease = true; } - return await new GithubUpdater(HttpClient, JsonSerializer, cacheLength) - .CheckForUpdateResult("MediaBrowser", "Emby", ApplicationVersion, includePreRelease, excludeSuffixes.ToArray(), _releaseAssetFilename, "MBServer", "Mbserver.zip", cancellationToken).ConfigureAwait(false); + return new GithubUpdater(HttpClient, JsonSerializer, cacheLength) + .CheckForUpdateResult("MediaBrowser", "Emby", ApplicationVersion, includePreRelease, excludeSuffixes.ToArray(), _releaseAssetFilename, "MBServer", "Mbserver.zip", cancellationToken); } ///