This commit is contained in:
2021-12-23 19:16:11 +00:00
parent d8fdd08741
commit 9c6b6e52c8
31 changed files with 71 additions and 20 deletions

View File

@@ -194,6 +194,8 @@ namespace AyaNova.Biz
var orderedList = from id in batch join z in batchResults on id equals z.Id select z;
foreach (CustomerNote w in orderedList)
{
if (DateTime.UtcNow > renderTimeOutExpiry)
throw new ReportRenderTimeOutException();
await PopulateVizFields(w);
var jo = JObject.FromObject(w);
ReportData.Add(jo);
@@ -258,7 +260,7 @@ namespace AyaNova.Biz
//
public async Task HandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
{
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
if (ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<ProjectBiz>();
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{this.BizType}, AyaEvent:{ayaEvent}]");