This commit is contained in:
2021-08-06 15:42:56 +00:00
parent 1797263d06
commit a7cc4ba888
4 changed files with 8 additions and 8 deletions

View File

@@ -188,9 +188,9 @@ namespace AyaNova.Biz
log.LogDebug("Processing semi-critical internal jobs");
#if (DEBUG)
log.LogInformation("Processing semi-critical internal jobs (backup, pm, notification etc)");
#endif
// #if (DEBUG)
// log.LogInformation("Processing semi-critical internal jobs (backup, pm, notification etc)");
// #endif
//BACKUP
await CoreJobBackup.DoWorkAsync();

View File

@@ -24,9 +24,9 @@ namespace AyaNova.Biz
private static TimeSpan TS_24_HOURS = new TimeSpan(24, 0, 0);//used to ensure daily ops happen no more than that
#if (DEBUG)
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 0, 20);//no more frequently than once every 20 seconds
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 0, 21);//no more frequently than once every 20 seconds
#else
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 2, 0);//no more frequently than once every 2 minutes
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 2, 5);//no more frequently than once every 2 minutes
#endif
////////////////////////////////////////////////////////////////////////////////////////////////

View File

@@ -23,9 +23,9 @@ namespace AyaNova.Biz
#if (DEBUG)
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 0, 20);//no more frequently than once every 20 seconds
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 0, 24);//no more frequently than once every 20 seconds
#else
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 5, 0);//no more frequently than once every 5 minutes
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 5, 2);//no more frequently than once every 5 minutes
#endif

View File

@@ -23,7 +23,7 @@ namespace AyaNova.Biz
#if (DEBUG)
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 0, 20);//no more frequently than once every 20 seconds
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 0, 23);//no more frequently than once every 20 seconds
#else
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 30, 0);//no more frequently than once every half hour
#endif