From f01bc940f6f0b349b82b8425e372974d2db3cc54 Mon Sep 17 00:00:00 2001 From: Gary Sharp Date: Tue, 29 Jul 2014 14:17:58 +1000 Subject: [PATCH] Bug Fix: Task progress incorrectly calculated --- Disco.Services/Tasks/ScheduledTaskStatus.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Disco.Services/Tasks/ScheduledTaskStatus.cs b/Disco.Services/Tasks/ScheduledTaskStatus.cs index 3d095105..6d406453 100644 --- a/Disco.Services/Tasks/ScheduledTaskStatus.cs +++ b/Disco.Services/Tasks/ScheduledTaskStatus.cs @@ -107,6 +107,7 @@ namespace Disco.Services.Tasks this._currentProcess = "Scheduled"; this._currentDescription = "Scheduled Task for Execution"; + this.ProgressMultiplier = 1; this._progress = 0; } @@ -381,7 +382,7 @@ namespace Disco.Services.Tasks this._progress = 0; changedProperties.Add(new ChangedItem("Progress", this._progress)); } - this.ProgressMultiplier = 0; + this.ProgressMultiplier = 1; this.ProgressOffset = 0; this.IgnoreCurrentDescription = false; this.IgnoreCurrentProcessChanges = false;