aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-03 15:24:18 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-03 15:24:18 -0500
commitf60a77b6b6f966e957f7f3a51e88a890e28a3405 (patch)
tree8d0d36258cdec36e0ebe0670732f477e83bcf005
parent5acc026c834e71a1f5015e51decc7264b3410c7c (diff)
update the updater
-rw-r--r--MediaBrowser.Server.Startup.Common/ApplicationHost.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
index 862c4abdc..114b9047a 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.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);
}
/// <summary>