This commit is contained in:
@@ -129,7 +129,7 @@ namespace AyaNova.Biz
|
||||
{
|
||||
var sleepTime = 30 * 1000;
|
||||
await JobsBiz.UpdateJobStatusAsync(job.GId, JobStatus.Running);
|
||||
await JobsBiz.LogJobAsync(job.GId, $"ProcessTestJob started, sleeping for {sleepTime} seconds...");
|
||||
await JobsBiz.LogJobAsync(job.GId, $"ProcessTestJob started, sleeping for {sleepTime/1000} seconds...");
|
||||
await Task.Delay(sleepTime);
|
||||
await JobsBiz.LogJobAsync(job.GId, "ProcessTestJob done sleeping setting job to finished");
|
||||
await JobsBiz.UpdateJobStatusAsync(job.GId, JobStatus.Completed);
|
||||
|
||||
Reference in New Issue
Block a user