Transitions the backend to celery and celery beat

This commit is contained in:
Trenton Holmes
2022-09-01 16:25:11 -07:00
committed by Trenton H
parent 74c1a99545
commit 09287701ae
29 changed files with 437 additions and 282 deletions

View File

@@ -77,16 +77,16 @@ export class TasksComponent implements OnInit, OnDestroy {
get currentTasks(): PaperlessTask[] {
let tasks: PaperlessTask[]
switch (this.activeTab) {
case 'queued':
case 'PENDING':
tasks = this.tasksService.queuedFileTasks
break
case 'started':
case 'STARTED':
tasks = this.tasksService.startedFileTasks
break
case 'completed':
case 'SUCCESS':
tasks = this.tasksService.completedFileTasks
break
case 'failed':
case 'FAILURE':
tasks = this.tasksService.failedFileTasks
break
default: