mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-28 03:18:27 +01:00
AutoorganizeLog: Fixed error when log empty; re-introduced full reload on task completion
This commit is contained in:
@@ -429,17 +429,6 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks
|
||||
GC.Collect(2, GCCollectionMode.Forced, true);
|
||||
}
|
||||
|
||||
/// <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), cancellationToken);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Progress_s the progress changed.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user