fix(archival): 🐛🚧 temp disable RELEASE job failing due to config issue

ref #2695
This commit is contained in:
Collin M. Barrett 2021-11-27 08:30:05 -06:00
parent 5fe27ee9c4
commit fb20331648

View file

@ -31,12 +31,12 @@ public static void UseApplication(this IApplicationBuilder app)
private static void ScheduleArchival()
{
#if DEBUG
// TODO: fix InvalidOperationException and re-enable
#if DEBUG
//JobStorage.Current?.GetMonitoringApi()?.PurgeJobs();
//new EnqueueArchiveAllLists.Command().EnqueueBackgroundJob();
#else
new EnqueueArchiveAllLists.Command().AddOrUpdateRecurringJob(Cron.Daily);
//new EnqueueArchiveAllLists.Command().AddOrUpdateRecurringJob(Cron.Daily);
#endif
}
}