Skip to content

Commit

Permalink
fix(archival): 🐛🚧 temp disable RELEASE job failing due to config issue
Browse files Browse the repository at this point in the history
ref #2695
  • Loading branch information
collinbarrett committed Nov 27, 2021
1 parent 5fe27ee commit fb20331
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit fb20331

Please sign in to comment.