scheduled tasks tidy up

This commit is contained in:
Gary Sharp
2016-09-28 20:39:24 +10:00
parent 27c21175d7
commit 86faf02cf0
12 changed files with 53 additions and 79 deletions
@@ -32,14 +32,14 @@ namespace Disco.Services.Interop.DiscoServices
{
try
{
UpdateQuery.Check(database, true, this.Status);
UpdateQuery.Check(database, true, Status);
}
catch (Exception ex)
{
ScheduledTasksLog.LogScheduledTaskException(this.Status.TaskName, this.Status.SessionId, this.Status.TaskType, ex);
ScheduledTasksLog.LogScheduledTaskException(Status.TaskName, Status.SessionId, Status.TaskType, ex);
// Could be proxy error - try again without proxy:
UpdateQuery.Check(database, false, this.Status);
UpdateQuery.Check(database, false, Status);
}
}
}