This commit is contained in:
@@ -204,19 +204,14 @@ namespace AyaNova.Biz
|
||||
if (!KeepOnWorking()) return;
|
||||
log.LogTrace("Processing level 2 internal jobs");
|
||||
|
||||
// #if (DEBUG)
|
||||
// log.LogInformation("Processing semi-critical internal jobs (backup, pm, notification etc)");
|
||||
// #endif
|
||||
|
||||
//BACKUP
|
||||
await CoreJobBackup.DoWorkAsync();
|
||||
if (!KeepOnWorking()) return;
|
||||
|
||||
//NOTIFICATIONS
|
||||
TaskUtil.Forget(Task.Run(() => CoreJobNotify.DoWorkAsync()));//must fire and forget as it will call a report render job. In fact probably all of these can be fire and forget
|
||||
// await CoreJobNotify.DoWorkAsync();
|
||||
|
||||
await CoreJobNotify.DoWorkAsync();
|
||||
if (!KeepOnWorking()) return;
|
||||
|
||||
await CoreNotificationSweeper.DoWorkAsync();
|
||||
if (!KeepOnWorking()) return;
|
||||
|
||||
@@ -241,6 +236,8 @@ namespace AyaNova.Biz
|
||||
await CoreJobReportRenderEngineProcessCleanup.DoWork();
|
||||
if (!KeepOnWorking()) return;
|
||||
|
||||
//CUSTOMER NOTIFICATIONS
|
||||
TaskUtil.Forget(Task.Run(() => CoreJobCustomerNotify.DoWorkAsync()));//must fire and forget as it will call a report render job. In fact probably all of these can be fire and forget
|
||||
|
||||
log.LogTrace("Processing exclusive dynamic jobs");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user