This commit is contained in:
@@ -188,9 +188,9 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
log.LogDebug("Processing semi-critical internal jobs");
|
log.LogDebug("Processing semi-critical internal jobs");
|
||||||
|
|
||||||
#if (DEBUG)
|
// #if (DEBUG)
|
||||||
log.LogInformation("Processing semi-critical internal jobs (backup, pm, notification etc)");
|
// log.LogInformation("Processing semi-critical internal jobs (backup, pm, notification etc)");
|
||||||
#endif
|
// #endif
|
||||||
|
|
||||||
//BACKUP
|
//BACKUP
|
||||||
await CoreJobBackup.DoWorkAsync();
|
await CoreJobBackup.DoWorkAsync();
|
||||||
|
|||||||
@@ -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
|
private static TimeSpan TS_24_HOURS = new TimeSpan(24, 0, 0);//used to ensure daily ops happen no more than that
|
||||||
|
|
||||||
#if (DEBUG)
|
#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
|
#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
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
|
|
||||||
#if (DEBUG)
|
#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
|
#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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
|
|
||||||
#if (DEBUG)
|
#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
|
#else
|
||||||
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 30, 0);//no more frequently than once every half hour
|
private static TimeSpan RUN_EVERY_INTERVAL = new TimeSpan(0, 30, 0);//no more frequently than once every half hour
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user