mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(archival): 🐛🚧 disable broken enqueue on startup in DEBUG
This commit is contained in:
parent
f4a4c58ea2
commit
ca078e3e2b
1 changed files with 3 additions and 2 deletions
|
|
@ -32,8 +32,9 @@ public static void UseApplication(this IApplicationBuilder app)
|
|||
private static void ScheduleArchival()
|
||||
{
|
||||
#if DEBUG
|
||||
JobStorage.Current?.GetMonitoringApi()?.PurgeJobs();
|
||||
new EnqueueArchiveAllLists.Command().EnqueueBackgroundJob();
|
||||
// TODO: fix InvalidOperationException and re-enable
|
||||
//JobStorage.Current?.GetMonitoringApi()?.PurgeJobs();
|
||||
//new EnqueueArchiveAllLists.Command().EnqueueBackgroundJob();
|
||||
#else
|
||||
new EnqueueArchiveAllLists.Command().AddOrUpdateRecurringJob(Cron.Daily);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue