changed all lambda experssion variables to z from various where appropriate
This commit is contained in:
@@ -62,8 +62,8 @@ namespace AyaNova.Biz
|
||||
//Get the deleteable succeeded jobs list
|
||||
var jobs = await ct.OpsJob
|
||||
.AsNoTracking()
|
||||
.Where(c => c.Created < dtDeleteCutoff && c.JobStatus == jobStatus)
|
||||
.OrderBy(m => m.Created)
|
||||
.Where(z => z.Created < dtDeleteCutoff && z.JobStatus == jobStatus)
|
||||
.OrderBy(z => z.Created)
|
||||
.ToListAsync();
|
||||
|
||||
log.LogTrace($"SweepAsync processing: cutoff={dtDeleteCutoff.ToString()}, for {jobs.Count.ToString()} jobs of status {jobStatus.ToString()}");
|
||||
@@ -95,8 +95,8 @@ namespace AyaNova.Biz
|
||||
//Get the deleteable succeeded jobs list
|
||||
var jobs = await ct.OpsJob
|
||||
.AsNoTracking()
|
||||
.Where(c => c.Created < dtRunningDeadline && c.JobStatus == JobStatus.Running)
|
||||
.OrderBy(m => m.Created)
|
||||
.Where(z => z.Created < dtRunningDeadline && z.JobStatus == JobStatus.Running)
|
||||
.OrderBy(z => z.Created)
|
||||
.ToListAsync();
|
||||
|
||||
log.LogTrace($"killStuckJobsAsync processing: cutoff={dtRunningDeadline.ToString()}, for {jobs.Count.ToString()} jobs of status {JobStatus.Running.ToString()}");
|
||||
|
||||
Reference in New Issue
Block a user