This commit is contained in:
2020-05-25 23:01:27 +00:00
parent 764f891ff4
commit fe7a2790aa
3 changed files with 12 additions and 12 deletions

View File

@@ -247,7 +247,7 @@ namespace AyaNova.Biz
{
if (ActivelyProcessing)
{
System.Diagnostics.Debug.WriteLine("ProcessJobs called but actively processing other jobs so returning");
//System.Diagnostics.Debug.WriteLine("ProcessJobs called but actively processing other jobs so returning");
log.LogTrace("ProcessJobs called but actively processing other jobs so returning");
return;
}
@@ -255,7 +255,7 @@ namespace AyaNova.Biz
try
{
//Sweep jobs table
System.Diagnostics.Debug.WriteLine($"JobsBiz processing sweeper");
//System.Diagnostics.Debug.WriteLine($"JobsBiz processing sweeper");
await CoreJobSweeper.DoSweepAsync();//run exclusively
//BIZOBJECT DYNAMIC JOBS
@@ -266,7 +266,7 @@ namespace AyaNova.Biz
{
try
{
System.Diagnostics.Debug.WriteLine($"JobsBiz processing exclusive biz job {j.Name}");
//System.Diagnostics.Debug.WriteLine($"JobsBiz processing exclusive biz job {j.Name}");
await ProcessJobAsync(j);
//Capture metrics
CoreJobMetricsSnapshot.DoJob();
@@ -280,7 +280,7 @@ namespace AyaNova.Biz
}
}
System.Diagnostics.Debug.WriteLine($"JobsBiz processing exclusive license check");
//System.Diagnostics.Debug.WriteLine($"JobsBiz processing exclusive license check");
//License check
long CurrentActiveCount = await UserBiz.ActiveCountAsync();
long LicensedUserCount = AyaNova.Core.License.ActiveKey.ActiveNumber;
@@ -293,9 +293,9 @@ namespace AyaNova.Biz
return;
}
//backup
System.Diagnostics.Debug.WriteLine($"JobsBiz processing backup");
//System.Diagnostics.Debug.WriteLine($"JobsBiz processing backup");
await CoreJobBackup.DoWorkAsync();//sb exclusive
System.Diagnostics.Debug.WriteLine($"JobsBiz processing metrics snapshotter");
//System.Diagnostics.Debug.WriteLine($"JobsBiz processing metrics snapshotter");
//Capture metrics
CoreJobMetricsSnapshot.DoJob();
@@ -311,7 +311,7 @@ namespace AyaNova.Biz
{
try
{
System.Diagnostics.Debug.WriteLine($"JobsBiz processing NON-exclusive biz job {j.Name}");
//System.Diagnostics.Debug.WriteLine($"JobsBiz processing NON-exclusive biz job {j.Name}");
TaskUtil.Forget(Task.Run(() => ProcessJobAsync(j)));
}
catch (Exception ex)
@@ -339,7 +339,7 @@ namespace AyaNova.Biz
finally
{
ActivelyProcessing = false;
System.Diagnostics.Debug.WriteLine($"JobsBiz in Finally - completed run");
//System.Diagnostics.Debug.WriteLine($"JobsBiz in Finally - completed run");
}
}