Added delay in batch job processing

This commit is contained in:
2022-09-27 17:45:44 +00:00
parent f7c3aa2ed1
commit a929188658
29 changed files with 101 additions and 6 deletions

View File

@@ -1038,6 +1038,10 @@ namespace AyaNova.Biz
FailedObjectCount++;
}
}
//TEMPORARY MEASURE AWAITING BETTER SOLUTION AND CANCELLABLE EXTENSION JOBS
//delay so we're not tying up all the resources in a tight loop
await Task.Delay(AyaNova.Util.ServerBootConfig.JOB_OBJECT_HANDLE_BATCH_JOB_LOOP_DELAY);
}
catch (Exception ex)
{