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

@@ -1,4 +1,4 @@
#define AYSHOWQUERYINFO
//#define AYSHOWQUERYINFO
using System.Collections.Generic;
using System.Linq;
@@ -14,7 +14,13 @@ namespace AyaNova.DataList
internal static class DataListFetcher
{
#if (AYSHOWQUERYINFO)
#if (DEBUG)
#warning FYI AYSHOWQUERYINFO is defined
#else
#error ### HOLDUP: AYSHOWQUERYINFO is defined in a RELEASE BUILD!!!!
#endif
#endif
////////////////////////////////////////////////
// Get the data list data requested
//
@@ -59,6 +65,7 @@ namespace AyaNova.DataList
System.Diagnostics.Stopwatch stopWatch = new System.Diagnostics.Stopwatch();
#endif
//QUERY THE DB
using (var command = ct.Database.GetDbConnection().CreateCommand())
{