aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-03-01 16:22:34 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-03-01 16:22:34 -0500
commitfe3323a492a35cae736350e896afd077e13e111d (patch)
tree2ba2cec092040571b4e1d7fa7f31bd034ac2360e /MediaBrowser.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
parent4c50301e7c774cb273cb93929ca8001c8f850b6b (diff)
fixes around http response caching, updated the mb icon in the dashboard, and isolated web socket events
Diffstat (limited to 'MediaBrowser.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs')
-rw-r--r--MediaBrowser.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs b/MediaBrowser.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
index e618b6f55..eada38556 100644
--- a/MediaBrowser.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
+++ b/MediaBrowser.Common.Implementations/ScheduledTasks/ScheduledTaskWorker.cs
@@ -367,6 +367,12 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks
OnTaskCompleted(startTime, endTime, status);
}
+ /// <summary>
+ /// Executes the task.
+ /// </summary>
+ /// <param name="cancellationToken">The cancellation token.</param>
+ /// <param name="progress">The progress.</param>
+ /// <returns>Task.</returns>
private Task ExecuteTask(CancellationToken cancellationToken, IProgress<double> progress)
{
return Task.Run(async () => await ScheduledTask.Execute(cancellationToken, progress).ConfigureAwait(false));