|
@@ -400,7 +400,8 @@ export class TaskQueueService implements OnModuleInit {
|
|
|
const failed = allTasks.filter((t) => t.status === 'failed').length;
|
|
const failed = allTasks.filter((t) => t.status === 'failed').length;
|
|
|
|
|
|
|
|
return {
|
|
return {
|
|
|
- isProcessing: this.isProcessing,
|
|
|
|
|
|
|
+ isProcessing: !!this.processingInterval, // Whether task processing is enabled/running
|
|
|
|
|
+ isProcessingCycle: this.isProcessing, // Whether currently in a processing cycle
|
|
|
activeTasks: this.activeTasks.size,
|
|
activeTasks: this.activeTasks.size,
|
|
|
pending,
|
|
pending,
|
|
|
processing,
|
|
processing,
|