Scheduler > Max Execution time issue fix

This commit is contained in:
a.skorina 2014-05-26 14:45:30 +03:00
parent 95dfe66c7b
commit fb64ac28f0

View file

@ -412,7 +412,7 @@ namespace WebsitePanel.EnterpriseServer
static void PurgeCompletedTasks(object obj) static void PurgeCompletedTasks(object obj)
{ {
List<BackgroundTask> tasks = TaskController.GetTasks(); List<BackgroundTask> tasks = TaskController.GetProcessTasks(BackgroundTaskStatus.Run);
foreach (BackgroundTask task in tasks) foreach (BackgroundTask task in tasks)
{ {