The Free Software Media System - Server Backend & API
update the updater
Luke Pulverentif60a77b6b6f9
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.csindex 862c4abdc8..114b9047ad 100644--- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs+++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs@@ -1307,7 +1307,7 @@ namespace MediaBrowser.Server.Startup.Common/// <param name="cancellationToken">The cancellation token.</param>/// <param name="progress">The progress.</param>/// <returns>Task{CheckForUpdateResult}.</returns>- public override async Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress)+ public override Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress){var includePreRelease = false;var cacheLength = TimeSpan.FromHours(12);@@ -1331,8 +1331,8 @@ namespace MediaBrowser.Server.Startup.CommonincludePreRelease = 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);}/// <summary>