mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
sync updates
This commit is contained in:
@@ -79,6 +79,12 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks
|
||||
QueueScheduledTask<T>(options);
|
||||
}
|
||||
|
||||
public void CancelIfRunningAndQueue<T>()
|
||||
where T : IScheduledTask
|
||||
{
|
||||
CancelIfRunningAndQueue<T>(new TaskExecutionOptions());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cancels if running
|
||||
/// </summary>
|
||||
@@ -103,6 +109,12 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks
|
||||
QueueScheduledTask(scheduledTask, options);
|
||||
}
|
||||
|
||||
public void QueueScheduledTask<T>()
|
||||
where T : IScheduledTask
|
||||
{
|
||||
QueueScheduledTask<T>(new TaskExecutionOptions());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Queues the scheduled task.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user